Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cron & read permissions to workflows #19

Merged
merged 1 commit into from
Nov 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ on:
branches:
- main
pull_request:
# The branches below must be a subset of the branches above
branches:
- main
schedule:
# Every Monday at midnight: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
- cron: "0 0 * * 1"
permissions:
contents: read
concurrency:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@ name: CodeQL
on:
push:
branches:
- "main"
- main
pull_request:
# The branches below must be a subset of the branches above
branches:
- "main"
- main
schedule:
# Every Monday at midnight: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
- cron: '0 0 * * 1'
- cron: "0 0 * * 1"
permissions:
contents: read
concurrency:
# Cancel old actions upon push
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions:
contents: read
jobs:
analyze:
name: Analyze
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/test_components_input.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@ on:
branches:
- main
pull_request:
# The branches below must be a subset of the branches above
branches:
- main
schedule:
# Every Monday at midnight: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
- cron: "0 0 * * 1"
permissions:
contents: read
concurrency:
# Cancel old actions upon push
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
install_on_runner:
runs-on: ${{ matrix.os }}
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/test_default_input.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@ on:
branches:
- main
pull_request:
# The branches below must be a subset of the branches above
branches:
- main
schedule:
# Every Monday at midnight: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
- cron: "0 0 * * 1"
permissions:
contents: read
concurrency:
# Cancel old actions upon push
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
install_on_runner:
runs-on: ${{ matrix.os }}
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/test_install_stable_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@ on:
branches:
- main
pull_request:
# The branches below must be a subset of the branches above
branches:
- main
schedule:
# Every Monday at midnight: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
- cron: "0 0 * * 1"
permissions:
contents: read
concurrency:
# Cancel old actions upon push
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
install_on_runner:
runs-on: ${{ matrix.os }}
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/test_override_input.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@ on:
branches:
- main
pull_request:
# The branches below must be a subset of the branches above
branches:
- main
schedule:
# Every Monday at midnight: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
- cron: "0 0 * * 1"
permissions:
contents: read
concurrency:
# Cancel old actions upon push
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
install_on_runner:
runs-on: ${{ matrix.os }}
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/test_targets_input.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@ on:
branches:
- main
pull_request:
# The branches below must be a subset of the branches above
branches:
- main
schedule:
# Every Monday at midnight: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
- cron: "0 0 * * 1"
permissions:
contents: read
concurrency:
# Cancel old actions upon push
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
install_on_runner:
runs-on: ${{ matrix.os }}
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/test_toolchain_input.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@ on:
branches:
- main
pull_request:
# The branches below must be a subset of the branches above
branches:
- main
schedule:
# Every Monday at midnight: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
- cron: "0 0 * * 1"
permissions:
contents: read
concurrency:
# Cancel old actions upon push
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
install_on_runner:
runs-on: ${{ matrix.os }}
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ on:
branches:
- main
pull_request:
# The branches below must be a subset of the branches above
branches:
- main
schedule:
# Every Monday at midnight: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
- cron: "0 0 * * 1"
permissions:
contents: read
concurrency:
Expand Down