Skip to content

Commit

Permalink
fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
mydea committed Sep 9, 2024
1 parent c53415f commit 42c0dd8
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/project-automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,13 @@ jobs:
field: Status
operation: read

- name: PR is not in project
if: failure()
run: echo "is_in_project=0" >> "$GITHUB_OUTPUT"

- name: PR is in project
if: success()
if: steps.check_project.outputs.field_read_value
id: is_in_project
run: echo "is_in_project=1" >> "$GITHUB_OUTPUT"

outputs:
is_in_project: '${{ steps.check_project.outputs.is_in_project }}'
is_in_project: ${{ steps.is_in_project.outputs.is_in_project || '0' }}

# When a PR is a draft, it should go into "In Progress"
mark_as_in_progress:
Expand Down

0 comments on commit 42c0dd8

Please sign in to comment.