浏览代码

chore: look ma no auth!

Marc Cornellà 3 年之前
父节点
当前提交
17c52ccfc9
共有 1 个文件被更改,包括 0 次插入8 次删除
  1. 0 8
      .github/workflows/project.yml

+ 0 - 8
.github/workflows/project.yml

@@ -12,12 +12,9 @@ jobs:
     steps:
       - name: Read project data
         env:
-          GITHUB_TOKEN: ${{ secrets.PROJECT_TOKEN }}
           ORGANIZATION: ohmyzsh
           PROJECT_NUMBER: "1"
         run: |
-          gh auth login
-
           # Get Project data
           gh api graphql -f query='
             query($org: String!, $number: Int!) {
@@ -44,7 +41,6 @@ jobs:
 
       - name: Add to project
         env:
-          GITHUB_TOKEN: ${{ secrets.PROJECT_TOKEN }}
           ISSUE_ID: ${{ github.event.issue.node_id }}
           PR_ID: ${{ github.event.pull_request.node_id }}
         run: |
@@ -62,8 +58,6 @@ jobs:
 
       - name: Classify Pull Request
         if: github.event_name == 'pull_request_target'
-        env:
-          GITHUB_TOKEN: ${{ secrets.PROJECT_TOKEN }}
         run: |
           gh pr view ${{ github.event.pull_request.number }} --json files --jq '.files.[].path' | awk -F/ '
             /^plugins\// {
@@ -93,8 +87,6 @@ jobs:
 
       - name: Fill Pull Request fields in project
         if: github.event_name == 'pull_request_target'
-        env:
-          GITHUB_TOKEN: ${{ secrets.PROJECT_TOKEN }}
         run: |
           gh api graphql -f query='
             mutation (