gh-actions(deps): bump the gh-actions-dependencies group with 2 updates #841
Workflow file for this run
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
--- | |
name: tek-repo-lint | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
workflow_call: | |
# IMPORTANT: Any new jobs need to be added to the check-repo-lint-passed job to ensure they correctly gate code changes | |
jobs: | |
enforce-community-standards: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
filename: | |
- .github/CODEOWNERS | |
- README.@(md|rst) | |
- CODE_OF_CONDUCT.@(md|rst) | |
- CONTRIBUTING.@(md|rst) | |
- LICENSE.@(md|rst) | |
- SECURITY.@(md|rst) | |
- .github/ISSUE_TEMPLATE/bug_report.yml | |
- .github/ISSUE_TEMPLATE/feature_request.yml | |
- .github/PULL_REQUEST_TEMPLATE.md | |
- .github/dependabot.yml | |
- .github/workflows/codeql-analysis.yml | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Ensure ${{ matrix.filename }} exists | |
uses: andstor/file-existence-action@v3 | |
with: | |
files: ${{ matrix.filename }} | |
ignore_case: false | |
follow_symbolic_links: false | |
fail: true # Set the step to fail if the file doesn't exist | |
# Check that all jobs passed | |
check-repo-lint-passed: | |
if: ${{ !cancelled() }} | |
needs: [enforce-community-standards] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Decide whether the needed jobs succeeded or failed | |
uses: re-actors/alls-green@release/v1 | |
with: | |
jobs: ${{ toJSON(needs) }} |