Skip to content

Commit 581a7cf

Browse files
authored
Merge pull request #297 from github/jm_pull_request_target_only
chore: remove pull_request target if we already have pull_request_target
2 parents 6f7f334 + a5b43e4 commit 581a7cf

File tree

3 files changed

+2
-11
lines changed

3 files changed

+2
-11
lines changed

.github/workflows/auto-labeler.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@
22
name: Auto Labeler
33

44
on:
5-
# pull_request event is required only for autolabeler
6-
pull_request:
7-
# Only following types are handled by the action, but one can default to all as well
8-
types: [opened, reopened, synchronize]
9-
# pull_request_target event is required for autolabeler to support PRs from forks
5+
# pull_request_target event is required for autolabeler to support all PRs including forks
106
pull_request_target:
117
types: [opened, reopened, synchronize]
128

.github/workflows/release.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@
33

44
on:
55
workflow_dispatch:
6-
pull_request:
7-
types:
8-
- closed
9-
branches:
10-
- main
116
pull_request_target:
127
types:
138
- closed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Issue Metrics Action
22

3-
[![CodeQL](https://github.com/github/issue-metrics/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/github/issue-metrics/actions/workflows/codeql-analysis.yml)
3+
[![CodeQL](https://github.com/github/issue-metrics/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/github/issue-metrics/actions/workflows/github-code-scanning/codeql)
44
[![Docker Image CI](https://github.com/github/issue-metrics/actions/workflows/docker-image.yml/badge.svg)](https://github.com/github/issue-metrics/actions/workflows/docker-image.yml)
55
[![Python package](https://github.com/github/issue-metrics/actions/workflows/python-package.yml/badge.svg)](https://github.com/github/issue-metrics/actions/workflows/python-package.yml)
66
[![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/github/issue-metrics/badge)](https://scorecard.dev/viewer/?uri=github.com/github/issue-metrics)

0 commit comments

Comments
 (0)