fix(invitations): expire lapsed invitations on re-invite (#12831) #1708
This file contains hidden or 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
| name: 'CI: Actionlint' | |
| on: | |
| push: | |
| branches: | |
| - 'master' | |
| pull_request: | |
| branches: | |
| - 'master' | |
| schedule: | |
| - cron: '45 06 * * *' | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: {} | |
| jobs: | |
| actionlint: | |
| if: github.repository == 'prowler-cloud/prowler' | |
| name: GitHub Actions Schema Check | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Harden Runner | |
| uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0 | |
| with: | |
| egress-policy: block | |
| allowed-endpoints: > | |
| github.com:443 | |
| api.github.com:443 | |
| auth.docker.io:443 | |
| registry-1.docker.io:443 | |
| production.cloudflare.docker.com:443 | |
| production.cloudfront.docker.com:443 | |
| - name: Checkout repository | |
| uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 | |
| with: | |
| # zizmor: ignore[artipacked] | |
| persist-credentials: true # Required by tj-actions/changed-files to fetch PR branch | |
| # Always runs so it always reports; the lint is skipped when nothing changed. | |
| - name: Check for workflow changes | |
| id: check-changes | |
| uses: tj-actions/changed-files@9426d40962ed5378910ee2e21d5f8c6fcbf2dd96 # v47.0.6 | |
| with: | |
| files: .github/** | |
| # SC2129 is style only: it suggests grouping consecutive redirects. | |
| - name: Run actionlint | |
| if: steps.check-changes.outputs.any_changed == 'true' | |
| env: | |
| SHELLCHECK_OPTS: '-e SC2129' | |
| run: | | |
| docker run --rm -v "$PWD:/repo" --workdir /repo -e SHELLCHECK_OPTS \ | |
| rhysd/actionlint:1.7.12@sha256:b1934ee5f1c509618f2508e6eb47ee0d3520686341fec936f3b79331f9315667 \ | |
| -color |