Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mogyuchi committed Jun 28, 2022
1 parent 04e9a75 commit b60d0c3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/add-to-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ on:
permissions:
issues: write
pull-requests: write
repository-projects: write

jobs:
debug:
Expand Down Expand Up @@ -58,12 +57,12 @@ jobs:
shell: bash -xe {0}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ISSUE: ${{ github.event.issue.node_id || false }}
PR: ${{ github.event.pull_request.node_id || false }}
ISSUE: ${{ github.event.issue.node_id }}
PR: ${{ github.event.pull_request.node_id }}
PROJECT: "PRO_kwLOHRQYxM4A3d8I"
steps:
- run: |
if $ISSUE; then
if [ -n "$ISSUE" ]; then
gh api graphql \
-F "target=$ISSUE" \
-F "projectId=$PROJECT" \
Expand Down

0 comments on commit b60d0c3

Please sign in to comment.