Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.

Commit 5d3856b

Browse files
authored
Merge pull request #80 from github/jm_pull_request_target_only
chore: remove pull_request target if we already have pull_request_target
2 parents 8a3fb7e + 03eae63 commit 5d3856b

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,7 +1,7 @@
11
# automatic-contrib-prs
22

33
[![.github/workflows/linter.yml](https://github.com/github/automatic-contrib-prs/actions/workflows/super-linter.yml/badge.svg)](https://github.com/github/automatic-contrib-prs/actions/workflows/super-linter.yml)
4-
[![CodeQL](https://github.com/github/automatic-contrib-prs/actions/workflows/codeql.yml/badge.svg)](https://github.com/github/automatic-contrib-prs/actions/workflows/codeql.yml)
4+
[![CodeQL](https://github.com/github/automatic-contrib-prs/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/github/automatic-contrib-prs/actions/workflows/github-code-scanning/codeql)
55
[![Docker Image CI](https://github.com/github/automatic-contrib-prs/actions/workflows/docker-image.yml/badge.svg)](https://github.com/github/automatic-contrib-prs/actions/workflows/docker-image.yml)
66
[![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/github/automatic-contrib-prs/badge)](https://scorecard.dev/viewer/?uri=github.com/github/automatic-contrib-prs)
77

0 commit comments

Comments
 (0)