generated from ghostwriter/wip
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Nathanael Esayeas <nathanael.esayeas@protonmail.com>
- Loading branch information
1 parent
4873046
commit 0ae22c9
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Compliance | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
# Default branch | ||
- "main" | ||
# Release branches | ||
## 1.2.x - eg. Semantic Versioning | ||
- "[0-9]+.[0-9]+.x" | ||
## v1 - eg. GitHub Actions Versioning | ||
- "v[0-9]+" | ||
# Scheduled workflow | ||
schedule: | ||
# Runs hourly | ||
- cron: "0 * * * *" | ||
# Manually Trigger workflow | ||
workflow_dispatch: | ||
|
||
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions | ||
permissions: | ||
actions: write # permits an action to cancel a workflow run. | ||
checks: write # permits an action to create a check run. | ||
contents: write # allows the action to create a release. | ||
discussions: write # permits an action to close or delete a discussion. | ||
issues: write # permits an action to add a comment to an issue | ||
packages: write # permits an action to upload and publish packages on GitHub Packages. | ||
pages: write # permits an action to request a GitHub Pages build. | ||
pull-requests: write # permits an action to add a label to a pull request. | ||
|
||
jobs: | ||
automation: | ||
uses: ghostwriter/compliance/.github/workflows/automation.yml@v1 | ||
secrets: | ||
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} | ||
INFECTION_DASHBOARD_API_KEY: ${{ secrets.INFECTION_DASHBOARD_API_KEY }} |