chore(deps): bump hashicorp/vault-action from 2.7.3 to 2.7.4 in /.github/actions/setup-vault-cli #32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
## Test custom actions in .github/actions/ | |
name: actions-test | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- '.github/actions/**' | |
pull_request: | |
branches: | |
- main | |
paths: | |
- '.github/actions/**' | |
permissions: | |
contents: read | |
jobs: | |
docker-layer-caching: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/docker-layer-caching | |
with: | |
key: custom-docker-cache-key-${{ github.workflow }}-{hash} | |
restore-keys: | | |
custom-docker-cache-key-${{ github.workflow }}- | |
# Random Dockerfile from .ci/docker | |
- run: docker build -t yamllint -f .ci/docker/yamllint/Dockerfile . | |
setup-git-with-token: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup-git | |
with: | |
token: ${{ github.token }} | |
- name: Check GIT_USER | |
run: test "$GIT_USER" = "apmmachine" | |
- name: Check GIT_EMAIL | |
run: test "$GIT_EMAIL" = "apmmachine@users.noreply.github.com" | |
setup-git-without-token: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup-git | |
- name: Check GIT_USER | |
run: test "$GIT_USER" = "apmmachine" | |
- name: Check GIT_EMAIL | |
run: test "$GIT_EMAIL" = "apmmachine@users.noreply.github.com" | |
combined-status: | |
if: always() | |
runs-on: ubuntu-latest | |
needs: | |
- docker-layer-caching | |
- setup-git-with-token | |
- setup-git-without-token | |
steps: | |
- uses: actions/checkout@v4 | |
- id: check | |
uses: ./.github/actions/check-dependent-jobs | |
with: | |
needs: ${{ toJSON(needs) }} | |
- run: ${{ steps.check.outputs.isSuccess }} |