Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Merge pull request #51 from climatepolicyradar/fo-dependabot #24

Merge pull request #51 from climatepolicyradar/fo-dependabot

Merge pull request #51 from climatepolicyradar/fo-dependabot #24

Workflow file for this run

name: Tag Package
on:
push:
branches:
- main
jobs:
tag-pull-requests-and-merges-to-main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: |
git config --global user.email "[email protected]"
git config --global user.name "CPR Tech Team"
- name: List Tags Pre-tag
run: |
git tag -l
- name: Tag
run: |
git tag -a ${GITHUB_REF##*/}-${GITHUB_SHA::8} -m "Tagging ${GITHUB_REF##*/} in CI/CD."
- name: Push the tag
run: |
git push origin ${GITHUB_REF##*/}-${GITHUB_SHA::8}
- name: List Tags Post-tag
run: |
git tag -l