Skip to content

Commit

Permalink
chore: remove pull_request target if we already have pull_request_target
Browse files Browse the repository at this point in the history
- [x] auto-labeler action
- [x] release action
- [x] fix codeql bade in README (after we removed custom workflow in #140)

Signed-off-by: jmeridth <[email protected]>
  • Loading branch information
jmeridth committed May 28, 2024
1 parent 2429d78 commit 41116cb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/auto-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@
name: Auto Labeler

on:
# pull_request event is required only for autolabeler
pull_request:
# Only following types are handled by the action, but one can default to all as well
types: [opened, reopened, synchronize]
# pull_request_target event is required for autolabeler to support PRs from forks
# pull_request_target event is required for autolabeler to support all PRs including forks
pull_request_target:
types: [opened, reopened, synchronize]

Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@ name: Release

on:
workflow_dispatch:
pull_request:
types:
- closed
branches:
- main
pull_request_target:
types:
- closed
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Stale Repos Action

[![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)
[![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)
[![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)
[![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)
[![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)
[![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/github/stale-repos/badge)](https://scorecard.dev/viewer/?uri=github.com/github/stale-repos)
Expand Down

0 comments on commit 41116cb

Please sign in to comment.