-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
38 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Update Base Tag on Release | ||
|
||
on: | ||
release: | ||
types: | ||
- published | ||
|
||
jobs: | ||
update-tag: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Update Base Tag | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
# Extract the release tag name | ||
TAG_NAME=${{ github.event.release.tag_name }} | ||
echo "Updating base tag to point to release tag: $TAG_NAME" | ||
# Fetch all branches and tags | ||
git fetch --all | ||
# Create or move the base tag to point to the release tag | ||
git checkout -B v1 $TAG_NAME | ||
# Push the updated base tag | ||
git push origin v1 --force |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
# evomaster-action | ||
GitHub Action for running EvoMaster | ||
# EvoMaster GitHub Action | ||
|
||
This is a GitHub Action for running EvoMaster as part of CI. | ||
|
||
DOCUMENTATION UNDER CONSTRUCTION | ||
|
||
|
||
|
||
WARNING: this is work in progress. Do not use yet | ||
|
||
## TODO Documentation under construction |