Skip to content

Commit

Permalink
Create move_issue_to_project.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnGuan authored Aug 5, 2022
1 parent cc0ba82 commit 8cd18c3
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/move_issue_to_project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Move Issue To Project

on:
issues:
types:
- opened

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Generate token
id: generate_token
uses: tibdex/github-app-token@36464acb844fc53b9b8b2401da68844f6b05ebb0
with:
app_id: ${{ secrets.ALPHA_BOT_ID }}
private_key: ${{ secrets.ALPHA_BOT_PEM }}

- name: Add Alpha Bug Issue To project
uses: actions/[email protected]
with:
github-token: ${{ steps.generate_token.outputs.token }}
project-url: https://github.com/orgs/IceWhaleTech/projects/5
labeled: alpha, bug
label-operator: AND

- name: Add App Request Issue To project
uses: actions/[email protected]
with:
github-token: ${{ steps.generate_token.outputs.token }}
project-url: https://github.com/orgs/IceWhaleTech/projects/8
labeled: "App Request"
label-operator: AND

0 comments on commit 8cd18c3

Please sign in to comment.