* auto add new issues and auto move closed to done

* fix: setting GH_TOKEN for script

* fix(issue_opened_project)

* fix(workflows)
This commit is contained in:
wcjord 2025-06-09 15:31:57 -04:00 committed by GitHub
parent 09e8571fae
commit 984f0b8c57
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,7 @@ jobs:
- name: Get project ID from project number
id: get_project_id
run: |
PROJECT_ID=$(gh api graphql -f query='query { repository(owner: "${{ github.repository_owner }}", name: "${{ github.event.repository.name }}") { projectV2(number: 1) { id } } }' --jq '.data.repository.projectV2.id')
PROJECT_ID=$(gh api graphql -f query='query { organization(login: "pangeachat") { projectV2(number: 4) { id } } }' --jq '.data.organization.projectV2.id')
echo "PROJECT_ID=$PROJECT_ID" >> $GITHUB_ENV
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View file

@ -11,7 +11,7 @@ jobs:
- name: Get project ID from project number
id: get_project_id
run: |
PROJECT_ID=$(gh api graphql -f query='query { repository(owner: "${{ github.repository_owner }}", name: "${{ github.event.repository.name }}") { projectV2(number: 1) { id } } }' --jq '.data.repository.projectV2.id')
PROJECT_ID=$(gh api graphql -f query='query { organization(login: "pangeachat") { projectV2(number: 4) { id } } }' --jq '.data.organization.projectV2.id')
echo "PROJECT_ID=$PROJECT_ID" >> $GITHUB_ENV
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}