From cff81381b251ef9611d6a446c9fe925d80356d1d Mon Sep 17 00:00:00 2001 From: Andrew Ghostuhin Date: Mon, 8 Jun 2026 22:19:25 +0300 Subject: [PATCH] chore(github): add issue project automation --- .github/workflows/project.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/project.yaml diff --git a/.github/workflows/project.yaml b/.github/workflows/project.yaml new file mode 100644 index 00000000..25bd43fc --- /dev/null +++ b/.github/workflows/project.yaml @@ -0,0 +1,27 @@ +name: Add issues to project + +on: + issues: + types: + - opened + - transferred + +jobs: + add-to-project: + name: Add issue to Hyperion project + runs-on: ubuntu-latest + steps: + - uses: actions/create-github-app-token@v1 + id: app-token + with: + app-id: ${{ vars.ATLANTIS_SUPER_BOT_APP_ID }} + private-key: ${{ secrets.ATLANTIS_SUPER_BOT_PRIVATE_KEY }} + owner: ${{ github.repository_owner }} + permission-issues: read + permission-organization-projects: write + + - name: Add issue to project + env: + GH_TOKEN: ${{ steps.app-token.outputs.token }} + ISSUE_URL: ${{ github.event.issue.html_url }} + run: gh project item-add 39 --owner atls --url "$ISSUE_URL"