CasaOS/.github/workflows/move_alpha_bug_to_project.yml

28 lines
750 B
YAML
Raw Permalink Normal View History

2022-07-20 16:06:03 +00:00
# This is a basic workflow to help you get started with Actions
name: Move alpha bug to project
on:
issues:
types:
- opened
jobs:
track_issue:
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 Issue To GitHub Projects Beta
2022-07-20 16:07:19 +00:00
uses: actions/add-to-project@v0.1.0
2022-07-20 16:06:03 +00:00
with:
project-url: https://github.com/orgs/IceWhaleTech/projects/5
github-token: ${{ steps.generate_token.outputs.token }}
labeled: alpha, bug
label-operator: AND