From a5b43e42ec4670bd810594f2b1ac032b0251821f Mon Sep 17 00:00:00 2001 From: jmeridth Date: Tue, 28 May 2024 12:13:56 -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/issue-metrics/pull/276) 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 9dd054b..70f5a32 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 d2bec8a..456a781 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Issue Metrics Action -[![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) +[![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) [![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) [![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) [![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/github/issue-metrics/badge)](https://scorecard.dev/viewer/?uri=github.com/github/issue-metrics)