diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f2e0853ed..f3a24c2ab 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,9 +4,9 @@ name: CI # Controls when the action will run. on: - # Triggers the workflow on push or pull request events but only for the master branch + # Triggers the workflow on push or pull request events but only for the main branch push: - branches: [ master ] + branches: [ main ] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -30,12 +30,12 @@ jobs: - name: Extract release notes id: extract-release-notes - if: github.ref == 'refs/heads/master' + if: github.ref == 'refs/heads/main' uses: ffurrer2/extract-release-notes@v1 - name: Tag id: create_tag - if: github.ref == 'refs/heads/master' + if: github.ref == 'refs/heads/main' uses: mathieudutour/github-tag-action@v5.5 with: github_token: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token @@ -45,19 +45,19 @@ jobs: - name: Build PDF id: build_pdf - if: github.ref == 'refs/heads/master' + if: github.ref == 'refs/heads/main' uses: avattathil/asciidoctor-action@master with: program: "asciidoctor-pdf -a allow-uri-read -D . spec/TestFormatSpec.adoc" - name: Create Release id: create_release - if: github.ref == 'refs/heads/master' + if: github.ref == 'refs/heads/main' uses: actions/create-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token with: - release_branch: refs/heads/master + release_branch: refs/heads/main release_name: ${{ steps.get_version.outputs.version }} tag_name: ${{ steps.get_version.outputs.version }} body: ${{ steps.extract-release-notes.outputs.release_notes }} @@ -66,7 +66,7 @@ jobs: - name: Upload Release Asset id: upload-release-asset - if: github.ref == 'refs/heads/master' + if: github.ref == 'refs/heads/main' uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 289218bac..34a063771 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,9 +4,9 @@ name: test # Controls when the action will run. on: - # Triggers the workflow on push or pull request events but only for the master branch + # Triggers the workflow on push or pull request events but only for the main branch pull_request: - branches: [ master ] + branches: [ main ] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: diff --git a/CHANGELOG.md b/CHANGELOG.md index 16472607e..c8013713b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # CHANGELOG +## [3.0.1] - 2022-05-13 + - Rename "master" to "main" in github-action yamls + ## [3.0.0] - 2022-05-07 - Migration of test-suite to new RISCOF framework.