We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bea0477 commit da18dbaCopy full SHA for da18dba
.github/workflows/project-automation.yml
@@ -25,16 +25,13 @@ jobs:
25
field: Status
26
operation: read
27
28
- - name: PR is not in project
29
- if: failure()
30
- run: echo "is_in_project=0" >> "$GITHUB_OUTPUT"
31
-
32
- name: PR is in project
33
- if: success()
+ if: steps.check_project.outputs.field_read_value
+ id: is_in_project
34
run: echo "is_in_project=1" >> "$GITHUB_OUTPUT"
35
36
outputs:
37
- is_in_project: '${{ steps.check_project.outputs.is_in_project }}'
+ is_in_project: ${{ steps.is_in_project.outputs.is_in_project || '0' }}
38
39
# When a PR is a draft, it should go into "In Progress"
40
mark_as_in_progress:
0 commit comments