Skip to content

Commit

Permalink
chore: cleanup github action workflows (#522)
Browse files Browse the repository at this point in the history
- Use consistent label check for external PRs
- Remove unused approved-readme
- Remove unused labels workflow
  • Loading branch information
enocom authored Apr 25, 2024
1 parent bea4637 commit c8a0d8a
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 241 deletions.
99 changes: 0 additions & 99 deletions .github/labels.yml

This file was deleted.

73 changes: 0 additions & 73 deletions .github/workflows/approve-readme.yaml

This file was deleted.

3 changes: 2 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ permissions: read-all

jobs:
analyze:
if: "${{ github.event.action != 'labeled' || github.event.label.name == 'tests: run' }}"
# Run this job only on PRs that have been labeled
if: "${{ (github.event.action != 'labeled' && github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name) || github.event.label.name == 'tests: run' }}"
name: Analyze
runs-on: ubuntu-latest
permissions:
Expand Down
34 changes: 0 additions & 34 deletions .github/workflows/labels.yaml

This file was deleted.

34 changes: 0 additions & 34 deletions .github/workflows/samples.yaml

This file was deleted.

0 comments on commit c8a0d8a

Please sign in to comment.