Skip to content

Commit

Permalink
ci(github): rely on more concise arrays for branches and event types (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Djaytan authored Jan 6, 2024
1 parent 41837dd commit 20db59d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 13 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ name: CI
on:
workflow_dispatch:
push:
branches:
- 'main'
branches: [main]
pull_request:
branches:
- 'main'
branches: [main]
schedule:
- cron: '28 14 * * *' # At 14:28 every day

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/openssf-scorecard-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ on:
workflow_dispatch:
branch_protection_rule:
push:
branches:
- 'main'
branches: [main]
schedule:
- cron: '24 3 * * *' # At 03:24 every day

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/release-perform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ name: Release - Perform
on:
workflow_dispatch:
push:
branches:
- 'main'
branches: [main]
paths:
- .github/CHANGELOG.md

Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/release-sign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@ on:
required: true
description: The tag name associated to a release containing assets to be signed
release:
types:
- created
- published
- prereleased
- released
types: [published]

permissions: {}

Expand Down

0 comments on commit 20db59d

Please sign in to comment.