Skip to content

Auto Tag

Auto Tag #43

Workflow file for this run

name: Auto Tag
on:
schedule:
- cron: "1 12 * * 5"
jobs:
tag:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Determine tag
id: determine_tag
run: |
current_tag=$(git describe --tags --abbrev=0)
echo "tag=${current_tag%%-*}-$(date +%s)" >> $GITHUB_OUTPUT
- name: Push tag
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Actions"
git tag ${{ steps.determine_tag.outputs.tag }}
git push origin ${{ steps.determine_tag.outputs.tag }}
call-build-rpms:
uses: oamg/convert2rhel/.github/workflows/build-rpm.yml@main

Check failure on line 31 in .github/workflows/autotag.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/autotag.yml

Invalid workflow file

error parsing called workflow ".github/workflows/autotag.yml" -> "oamg/convert2rhel/.github/workflows/build-rpm.yml@main" (source branch with sha:785d6a653fee493a086b306174178df459aa4dd5) : workflow is not reusable as it is missing a `on.workflow_call` trigger