This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
78 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,14 @@ | ||
<!-- | ||
NOTE | ||
NOTE In most cases, you should create an issue first, and only then | ||
NOTE a pull request. Please see the contribution guidelines for | ||
NOTE further information. In particular related to conventional | ||
NOTE commit messages. | ||
NOTE | ||
The title should have the following format: | ||
<type>: description (#<issue>) | ||
--> |
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,27 @@ | ||
name: add issues to project | ||
|
||
on: | ||
issues: | ||
types: | ||
- opened | ||
|
||
jobs: | ||
add-to-project: | ||
name: add issue to project | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: register bug/needs-triage with bug tracker project | ||
uses: actions/[email protected] | ||
with: | ||
project-url: https://github.com/orgs/varfish-org/projects/3 | ||
github-token: ${{ secrets.BOT_TOKEN }} | ||
labeled: bug, needs-triage | ||
label-operator: OR | ||
|
||
- name: register bug/enhancement issues with release planning project | ||
uses: actions/[email protected] | ||
with: | ||
project-url: https://github.com/orgs/varfish-org/projects/2 | ||
labeled: bug, needs-triage, enhancement | ||
label-operator: OR | ||
github-token: ${{ secrets.BOT_TOKEN }} |
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,18 @@ | ||
name: add needs-review pull requests to projects | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- labeled | ||
|
||
jobs: | ||
add-to-project: | ||
name: Add pull request to project | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: register pull requests with release planning project | ||
uses: actions/[email protected] | ||
with: | ||
project-url: https://github.com/orgs/varfish-org/projects/2 | ||
github-token: ${{ secrets.BOT_TOKEN }} | ||
labeled: needs-review |
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,19 @@ | ||
name: Dependabot auto-merge | ||
|
||
on: pull_request | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
dependabot: | ||
runs-on: ubuntu-latest | ||
if: ${{ github.actor == 'dependabot[bot]' }} | ||
steps: | ||
- name: Enable auto-merge for Dependabot PRs | ||
run: gh pr merge --auto --squash "$PR_URL" | ||
env: | ||
PR_URL: ${{github.event.pull_request.html_url}} | ||
# GitHub provides this variable in the CI env. You don't | ||
# need to add anything to the secrets vault. | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |