mirror of
https://github.com/zkitter/groups.git
synced 2026-01-09 13:08:01 -05:00
chore: add pm related GH actions (#3)
This commit is contained in:
16
.github/workflows/add-to-project.yml
vendored
Normal file
16
.github/workflows/add-to-project.yml
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
name: Add Opened Issue to Project
|
||||
|
||||
on:
|
||||
issues:
|
||||
types: [opened]
|
||||
|
||||
jobs:
|
||||
add-to-project:
|
||||
name: Add issue to project
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/add-to-project@v0.3.0
|
||||
with:
|
||||
project-url: https://github.com/orgs/zkitter/projects/1
|
||||
github-token: ${{ secrets.TOKEN }} # specific access token different from GITHUB_TOKEN required (see https://github.com/marketplace/actions/add-to-github-projects#creating-a-pat-and-adding-it-to-your-repository)
|
||||
|
||||
20
.github/workflows/issue-link.yml
vendored
Normal file
20
.github/workflows/issue-link.yml
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
name: Issue-PR Link
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened]
|
||||
|
||||
# set minimum required permissions for automatic `GITHUB_TOKEN` token
|
||||
permissions:
|
||||
pull-requests: write
|
||||
issues: read
|
||||
|
||||
jobs:
|
||||
issue-links:
|
||||
name: Link PR to Issue
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: tkt-actions/add-issue-links@v1.8.0
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
branch-prefix: 'issue-'
|
||||
resolve: true
|
||||
Reference in New Issue
Block a user