Skip to content

Commit afcb5e0

Browse files
committed
condition on master
Signed-off-by: habibayassin <[email protected]>
1 parent 09330d1 commit afcb5e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/github-actions-update-rules.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@ jobs:
4646
fi
4747
git add .
4848
git commit --signoff -m "flow: update rules based on new golden reference"
49-
- if: "${{ github.event.client_payload.branch }} != 'master'"
49+
- if: "github.event.client_payload.branch != 'master'"
5050
name: update rules pr
5151
id: remote-update-pr
5252
run: |
5353
git push origin ${{ github.event.client_payload.branch }}
54-
- if: "steps.remote-update.outputs.has_update == 'true' && ${{ github.event.client_payload.branch }} == 'master'"
54+
- if: "steps.remote-update.outputs.has_update == 'true' && github.event.client_payload.branch == 'master'"
5555
name: Create Draft PR
5656
uses: peter-evans/create-pull-request@v5
5757
with:

0 commit comments

Comments
 (0)