ci: Update status.yml

This commit is contained in:
Fabian-Lars
2024-07-22 17:38:55 +02:00
committed by GitHub
parent cf4749af1e
commit 5b6ffee5b0

View File

@@ -8,15 +8,10 @@ jobs:
set_statuses:
runs-on: ubuntu-latest
if: ${{ !contains(github.event.issue.labels.*.name, 'manual') && !contains(github.event.pull_request.labels.*.name, 'manual') }}
env:
BOT_PAT: ${{ secrets.ORG_TAURI_BOT_PAT }}
steps:
- name: Set up GitHub CLI
run: |
echo "${{ secrets.BOT_PAT }}" | gh auth login --with-token
- name: Get project data
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.ORG_TAURI_BOT_PAT }}
ORGANIZATION: tauri-apps
PROJECT_NUMBER: 27
run: |
@@ -54,7 +49,7 @@ jobs:
- name: Add/get item id
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.ORG_TAURI_BOT_PAT }}
run: |
if [ "${{ github.event.pull_request.node_id }}" != "" ]; then
echo "NODE_ID=${{ github.event.pull_request.node_id }}" >> $GITHUB_ENV
@@ -107,7 +102,7 @@ jobs:
- name: Set fields
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.ORG_TAURI_BOT_PAT }}
run: |
gh api graphql -f query='
mutation (