17c52ccfc9b06d45f041b24af35d1804d645620f

Author
Marc Cornellà <hello@mcornella.com>
Committer
Marc Cornellà <hello@mcornella.com>
Date

Message

chore: look ma no auth!

Diff

 1diff --git a/.github/workflows/project.yml b/.github/workflows/project.yml
 2index 1e66efda893fa19ad8daeb27637293742c9d977e..7559060d5b3323e0200987e5dfbead2dbb1c8429 100644
 3--- a/.github/workflows/project.yml
 4+++ b/.github/workflows/project.yml
 5@@ -12,12 +12,9 @@ jobs:
 6     steps:
 7       - name: Read project data
 8         env:
 9-          GITHUB_TOKEN: ${{ secrets.PROJECT_TOKEN }}
10           ORGANIZATION: ohmyzsh
11           PROJECT_NUMBER: "1"
12         run: |
13-          gh auth login
14-
15           # Get Project data
16           gh api graphql -f query='
17             query($org: String!, $number: Int!) {
18@@ -44,7 +41,6 @@ jobs:
19 
20       - name: Add to project
21         env:
22-          GITHUB_TOKEN: ${{ secrets.PROJECT_TOKEN }}
23           ISSUE_ID: ${{ github.event.issue.node_id }}
24           PR_ID: ${{ github.event.pull_request.node_id }}
25         run: |
26@@ -62,8 +58,6 @@ jobs:
27 
28       - name: Classify Pull Request
29         if: github.event_name == 'pull_request_target'
30-        env:
31-          GITHUB_TOKEN: ${{ secrets.PROJECT_TOKEN }}
32         run: |
33           gh pr view ${{ github.event.pull_request.number }} --json files --jq '.files.[].path' | awk -F/ '
34             /^plugins\// {
35@@ -93,8 +87,6 @@ jobs:
36 
37       - name: Fill Pull Request fields in project
38         if: github.event_name == 'pull_request_target'
39-        env:
40-          GITHUB_TOKEN: ${{ secrets.PROJECT_TOKEN }}
41         run: |
42           gh api graphql -f query='
43             mutation (