mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-26 11:27:00 +08:00
Add an option to force running the action for testing purposes
This commit is contained in:
parent
6fe429e7b7
commit
fbca1a1cb8
1 changed files with 2 additions and 2 deletions
4
.github/workflows/dist.yml
vendored
4
.github/workflows/dist.yml
vendored
|
|
@ -9,8 +9,8 @@ on:
|
|||
jobs:
|
||||
publish:
|
||||
name: Publish
|
||||
# Check if the PR is not from a fork
|
||||
if: github.repository_owner == 'samber'
|
||||
# Check if the PR is not from a fork or manually executed
|
||||
if: github.repository_owner == 'samber' or github.event_name == 'workflow_dispatch'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
|
|
|
|||
Loading…
Reference in a new issue