diff --git a/.github/workflows/10-review.yaml b/.github/workflows/10-review.yaml index c037ad7..9fa1c02 100644 --- a/.github/workflows/10-review.yaml +++ b/.github/workflows/10-review.yaml @@ -12,12 +12,10 @@ jobs: # Don't enforce commit conventions checks for Dependabot if: github.actor != 'dependabot[bot]' steps: - - name: Checkout - uses: actions/checkout@v4 + - uses: actions/checkout@v4 # interesting alternative: https://github.com/cocogitto/cocogitto - - name: Conventional commit checker - uses: webiny/action-conventional-commits@v1.3.0 + - uses: webiny/action-conventional-commits@v1.3.0 # XXX: normal action versioning syntax (`@v1`) doesn't work with this action, # possibly because not published on the GitHub marketplace diff --git a/.github/workflows/dependabot-auto-merge.yaml b/.github/workflows/auto-merge-dependabot-prs.yaml similarity index 77% rename from .github/workflows/dependabot-auto-merge.yaml rename to .github/workflows/auto-merge-dependabot-prs.yaml index ce97a2a..4180b63 100644 --- a/.github/workflows/dependabot-auto-merge.yaml +++ b/.github/workflows/auto-merge-dependabot-prs.yaml @@ -1,3 +1,4 @@ +# Managed by https://github.com/linkorb/repo-ansible. Manual changes will be overwritten. name: Auto-merge Dependabot PRs on: pull_request_target @@ -10,12 +11,10 @@ jobs: runs-on: ubuntu-latest if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }} steps: - - name: Dependabot metadata - id: metadata + - id: metadata uses: dependabot/fetch-metadata@v2 - - name: Enable auto-merge for Dependabot PRs - if: steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.update-type == 'version-update:semver-patch' + - if: steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.update-type == 'version-update:semver-patch' run: gh pr merge --merge "$PR_URL" env: PR_URL: ${{ github.event.pull_request.html_url }} diff --git a/.github/workflows/repo-ansible.yaml b/.github/workflows/auto-run-repo-ansible.yaml similarity index 86% rename from .github/workflows/repo-ansible.yaml rename to .github/workflows/auto-run-repo-ansible.yaml index 14b9a6a..88df8e3 100644 --- a/.github/workflows/repo-ansible.yaml +++ b/.github/workflows/auto-run-repo-ansible.yaml @@ -1,3 +1,4 @@ +# Managed by https://github.com/linkorb/repo-ansible. Manual changes will be overwritten. name: Auto-run repo-ansible on: @@ -6,12 +7,13 @@ on: pull_request_target: paths: - 'repo.yaml' + - 'docs/partials/*.md' push: branches: - main - - master paths: - 'repo.yaml' + - 'docs/partials/*.md' permissions: contents: write # allow git commits & push @@ -61,7 +63,7 @@ jobs: - if: ${{ env.IS_PULL_REQUEST == '1' && env.REPOSITORY_CHANGED == '1' }} - name: comment with changes + name: bot comment about repo-ansible detected changes uses: actions/github-script@v7 with: script: | @@ -70,7 +72,7 @@ jobs: issue_number: context.issue.number, owner: context.repo.owner, repo: context.repo.repo, - body: `Following repo-ansible changes will be applied when merged to main/master branch + body: `Once PR is merged, repo-ansible will run on main and the following changes will apply \`\`\`shell ${changes} diff --git a/repo.yaml b/repo.yaml index 2a74b79..ea7066a 100644 --- a/repo.yaml +++ b/repo.yaml @@ -15,5 +15,5 @@ license: mit license_year: 2024 name: repo-ansible type: other -version: v0.10.1 +version: v0.11.0 visibility: public