mirror of
https://github.com/tauri-apps/tauri-docs.git
synced 2026-01-31 00:35:16 +01:00
ci: Update status.yml
This commit is contained in:
11
.github/workflows/status.yml
vendored
11
.github/workflows/status.yml
vendored
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user