Skip to content

Commit

Permalink
Add tag.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wisebaldone committed Mar 23, 2024
1 parent 6c923e9 commit 87626bc
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Check for tags
on: push

jobs:
check-tag:
runs-on: stable
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Check for Tag
run: |
if [ $(git tag -l "stage-1") ]; then
echo "Stage 1 is already tagged"
else
echo "Stage 1 is not tagged"
exit 1
fi

0 comments on commit 87626bc

Please sign in to comment.