Skip to content

Commit 3f5830b

Browse files
authored
Merge pull request #151 from github/jm_pull_request_target_only
chore: remove pull_request target if we already have pull_request_target
2 parents 2429d78 + 41116cb commit 3f5830b

File tree

3 files changed

+2
-11
lines changed

3 files changed

+2
-11
lines changed

.github/workflows/auto-labeler.yml

+1-5
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

-5
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@ name: Release
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

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Stale Repos Action
33

44
[![Lint Code Base](https://github.com/github/stale-repos/actions/workflows/linter.yaml/badge.svg)](https://github.com/github/stale-repos/actions/workflows/linter.yaml)
5-
[![CodeQL](https://github.com/github/stale-repos/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/github/stale-repos/actions/workflows/codeql-analysis.yml)
5+
[![CodeQL](https://github.com/github/stale-repos/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/github/stale-repos/actions/workflows/github-code-scanning/codeql)
66
[![Docker Image CI](https://github.com/github/stale-repos/actions/workflows/docker-image.yml/badge.svg)](https://github.com/github/stale-repos/actions/workflows/docker-image.yml)
77
[![Python CI](https://github.com/github/stale-repos/actions/workflows/python-package.yml/badge.svg)](https://github.com/github/stale-repos/actions/workflows/python-package.yml)
88
[![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/github/stale-repos/badge)](https://scorecard.dev/viewer/?uri=github.com/github/stale-repos)

0 commit comments

Comments
 (0)