Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/issue_add.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: issue_add

on:
issues:
types:
- opened

permissions:
repository-projects: write

jobs:
add-to-project:
if: ${{ github.repository_owner == 'mattermost' }}
name: Add issue to project
runs-on: ubuntu-latest
steps:
- uses: mattermost/github-app-installation-token-action@181cd1b8c94b158428c4facfe043d6e28c20be55
id: ghapp
with:
appId: "${{ vars.UNIFIED_CI_APP_ID }}"
installationId: "${{ vars.UNIFIED_CI_INSTALLATION_ID }}"
privateKey: ${{ secrets.UNIFIED_CI_PRIVATE_KEY }}
- uses: actions/add-to-project@31b3f3ccdc584546fc445612dec3f38ff5edb41c #v0.5.0
with:
project-url: https://github.com/orgs/mattermost/projects/9
github-token: ${{ steps.ghapp.outputs.token }}