Skip to content

Commit 2824bcf

Browse files
committed
chore(ci): prevent failure on PR's
1 parent e8b967d commit 2824bcf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,7 @@ jobs:
464464

465465
- name: Check user permission
466466
id: check
467+
continue-on-error: true
467468
uses: prince-chrismc/check-actor-permissions-action@d504e74ba31658f4cdf4fcfeb509d4c09736d88e # v3.0.2
468469
with:
469470
permission: "write"
@@ -472,7 +473,7 @@ jobs:
472473

473474
- name: Discord notification
474475
uses: rjstone/discord-webhook-notify@c2597273488aeda841dd1e891321952b51f7996f #v2.2.1
475-
if: always() && steps.check.outputs.has-permission && ( github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false)
476+
if: steps.check.outputs.permitted == 'true' && ( github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false)
476477
with:
477478
severity: info
478479
details: Test Completed!

0 commit comments

Comments
 (0)