diff --git a/.github/workflows/repository-semantic-release.yaml b/.github/workflows/repository-semantic-release.yaml new file mode 100644 index 0000000..b6f0678 --- /dev/null +++ b/.github/workflows/repository-semantic-release.yaml @@ -0,0 +1,19 @@ +# yamllint disable rule:line-length +--- +permissions: + contents: write + pull-requests: write + +name: "repository-semantic-release" + +on: # yamllint disable-line rule:truthy + push: + +jobs: + repository-semantic-release: + name: repository-semantic-release + permissions: + contents: write + pull-requests: write + uses: honestbank/workflows/.github/workflows/shared-semantic-release.yaml@main + secrets: inherit diff --git a/.github/workflows/semantic-pr.yaml b/.github/workflows/semantic-pr.yaml index 3627556..afddfdd 100644 --- a/.github/workflows/semantic-pr.yaml +++ b/.github/workflows/semantic-pr.yaml @@ -18,11 +18,7 @@ on: - synchronize jobs: - public-semantic-pr: - name: public-semantic-pr - runs-on: ubuntu-latest - steps: - - uses: amannn/action-semantic-pull-request@v4 - name: Semantic Pull Request - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + repository-semantic-pr: + name: repository-semantic-pr + uses: honestbank/workflows/.github/workflows/shared-semantic-pr.yaml@main + secrets: inherit