mirror of
https://github.com/alexgo-io/stacks-blockchain-api.git
synced 2026-04-29 21:36:49 +08:00
chore: add project automation gh workflow
This commit is contained in:
19
.github/workflows/project-automation.yml
vendored
Normal file
19
.github/workflows/project-automation.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
name: Project Automation
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, labeled]
|
||||
env:
|
||||
MY_GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||
|
||||
jobs:
|
||||
auto-generated-prs:
|
||||
runs-on: ubuntu-latest
|
||||
name: Assign Auto-Generated PRs
|
||||
steps:
|
||||
- name: Assign pull requests opened by dependabot or snyk-bot
|
||||
uses: srggrs/assign-one-project-github-action@1
|
||||
if: contains(github.event.pull_request.user.login, 'dependabot') || contains(github.event.pull_request.user.login, 'snyk-bot')
|
||||
with:
|
||||
project: 'https://github.com/orgs/hirosystems/projects/11/'
|
||||
column_name: 'Auto-generated PRs'
|
||||
Reference in New Issue
Block a user