- Seperate test pipeline into E2E, integration and unit test pipelines. - Improve documenetation for pipelines (ci-cd.md). - Introduce naming convention for worklow files and names. - Center badges with multiple files on README file.
18 lines
737 B
YAML
18 lines
737 B
YAML
name: git-release
|
|
|
|
on:
|
|
push: # Ensure a new release is created for each new tag
|
|
tags:
|
|
- '[0-9]+.[0-9]+.[0-9]+'
|
|
|
|
jobs:
|
|
bump-version-and-release:
|
|
if: github.event.base_ref == 'refs/heads/master'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: undergroundwires/bump-everywhere@master
|
|
with:
|
|
user: undergroundwires-bot
|
|
release-token: ${{ secrets.BUMP_GITHUB_PAT }} # Does not trigger release pipeline if we use default token: https://github.community/t5/GitHub-Actions/Github-Action-trigger-on-release-not-working-if-releases-was/td-p/34559
|
|
# GitHub does not inject secrets if pipeline runs from fork or a fork is merged to main repo.
|