Updated release actions to only be executable by the repository owner [skip ci]

This commit is contained in:
2024-11-05 18:25:26 -07:00
parent 5245ba6d98
commit 8c155ce656
3 changed files with 18 additions and 0 deletions
+6
View File
@@ -17,6 +17,12 @@ jobs:
name: Release-plz
runs-on: ubuntu-latest
steps:
- name: Check if actor is repository owner
if: ${{ github.actor != github.repository_owner }}
run: |
echo "You are not authorized to run this workflow."
exit 1
- name: Checkout
uses: actions/checkout@v4
with:
+6
View File
@@ -17,6 +17,12 @@ jobs:
name: Release-plz
runs-on: ubuntu-latest
steps:
- name: Check if actor is repository owner
if: ${{ github.actor != github.repository_owner }}
run: |
echo "You are not authorized to run this workflow."
exit 1
- name: Checkout
uses: actions/checkout@v4
with:
+6
View File
@@ -17,6 +17,12 @@ jobs:
name: Release-plz
runs-on: ubuntu-latest
steps:
- name: Check if actor is repository owner
if: ${{ github.actor != github.repository_owner }}
run: |
echo "You are not authorized to run this workflow."
exit 1
- name: Checkout
uses: actions/checkout@v4
with: