only run release actions on upstream-repo (#568)

fixes #566

Signed-off-by: Sebastian Gumprich <[email protected]>

Signed-off-by: Sebastian Gumprich <[email protected]>
This commit is contained in:
Sebastian Gumprich authored and GitHub committed 2022-08-26 09:40:59 +02:00
1 parent 40913a3e6d
commit fbea75ad18
4 files changed
+5 -1

No files matched your search

+1
View File
@@ -6,6 +6,7 @@ on: # yamllint disable-line rule:truthy
types: [labeled, unlabeled, opened, edited, synchronize]
jobs:
enforce-label:
if: github.repository == 'dev-sec/ansible-collection-hardening'
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@main
+1
View File
@@ -8,6 +8,7 @@ on: # yamllint disable-line rule:truthy
jobs:
deploy:
if: github.repository == 'dev-sec/ansible-collection-hardening'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
+1
View File
@@ -9,6 +9,7 @@ on: # yamllint disable-line rule:truthy
jobs:
prettier-md:
if: github.repository == 'dev-sec/ansible-collection-hardening'
runs-on: ubuntu-latest
timeout-minutes: 1
+2 -1
View File
@@ -9,8 +9,9 @@ on: # yamllint disable-line rule:truthy
jobs:
generate_changelog:
runs-on: ubuntu-latest
name: create release draft
if: github.repository == 'dev-sec/ansible-collection-hardening'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with: