From 03eae637ed6f3afe9e41106ddbb6cb9dfe743865 Mon Sep 17 00:00:00 2001 From: jmeridth Date: Tue, 28 May 2024 12:33:25 -0500 Subject: [PATCH] chore: remove pull_request target if we already have pull_request_target - [x] auto-labeler action - [x] release action - [x] fix codeql bade in README (after we removed custom workflow in https://github.com/github/automatic-contrib-prs/pull/70) Signed-off-by: jmeridth --- .github/workflows/auto-labeler.yml | 6 +----- .github/workflows/release.yml | 5 ----- README.md | 2 +- 3 files changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/auto-labeler.yml b/.github/workflows/auto-labeler.yml index 8f9a5af..9cb7f26 100644 --- a/.github/workflows/auto-labeler.yml +++ b/.github/workflows/auto-labeler.yml @@ -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] diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b249fcb..0f64a33 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,11 +3,6 @@ on: workflow_dispatch: - pull_request: - types: - - closed - branches: - - main pull_request_target: types: - closed diff --git a/README.md b/README.md index f81a8b4..8fbd457 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # automatic-contrib-prs [![.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) -[![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) +[![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) [![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) [![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)