Skip to content

Commit 84e0b48

Browse files
authored
ci: update of files from global .github repo (#495)
1 parent 3469c60 commit 84e0b48

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/automerge-for-humans-remove-ready-to-merge-label-on-edit.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
name: Remove ready-to-merge label
77

88
on:
9-
pull_request:
9+
pull_request_target:
1010
types:
1111
- synchronize
12-
- edited
12+
- edited # zizmor: ignore[dangerous-triggers] needed as pull_request token is read-only
1313

1414
permissions: {}
1515

@@ -18,7 +18,6 @@ jobs:
1818
name: Remove ready-to-merge label
1919
runs-on: ubuntu-latest
2020
permissions:
21-
issues: write # required to remove labels and post comments on PR issues
2221
pull-requests: write # required to remove labels and post comments on PR issues
2322
steps:
2423
- name: Remove label

.github/workflows/automerge.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ jobs:
1616
name: Autoapprove PR comming from a bot
1717
if: >
1818
contains(fromJson('["asyncapi-bot", "dependabot[bot]", "dependabot-preview[bot]"]'), github.event.pull_request.user.login) &&
19-
contains(fromJson('["asyncapi-bot", "dependabot[bot]", "dependabot-preview[bot]"]'), github.actor) &&
2019
!contains(github.event.pull_request.labels.*.name, 'released')
2120
runs-on: ubuntu-latest
2221
steps:

0 commit comments

Comments
 (0)