Skip to content

Lower timeout-minutes. #12

Lower timeout-minutes.

Lower timeout-minutes. #12

name: Automated Latest Release Tag
on:
release:
types: [published]
env:
TAG_NAME: latest_release
jobs:
timeout-minutes: 30

Check failure on line 11 in .github/workflows/post_release_tag.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/post_release_tag.yml

Invalid workflow file

You have an error in your yaml syntax on line 11
post_release_tag_latest:
runs-on: ubuntu-latest
steps:
- name: Checkout PennyLane-Lightning
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Overwrite tag
run: |
git config --local user.email 'github-actions[bot]@users.noreply.github.com'
git config --local user.name "Latest tag update bot"
git tag -d $TAG_NAME || true
if git push --delete origin $TAG_NAME; then
echo "Remove tag $TAG_NAME from remote."
else
echo "$TAG_NAME does not exist in remote. Just proceed."
fi
git tag $TAG_NAME
git push --tags