Skip to content

Commit

Permalink
ci: sent ci-triggers comment only once on PR open or reopen
Browse files Browse the repository at this point in the history
If we specify a type we can stop the Github Actions bot from resending the
ci-triggers list to open PRs on every HEAD change.

> [...] if no activity types are specified, the workflow runs when a pull request
is opened or reopened or when the head branch of the pull request is updated.

Signed-off-by: Tobias Giese <tgiese@nvidia.com>
  • Loading branch information
tobiasgiese committed Jul 16, 2024
1 parent 64d69b6 commit a0033f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/pr-ci-triggers.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
on:
pull_request_target:
pull_request:
types: [opened, reopened]

jobs:
vendors-ci-triggers-list:
Expand Down

0 comments on commit a0033f6

Please sign in to comment.