We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
swipl-wasm
Should look something like
name: Enable automerge on dependabot PRs on: pull_request_target: jobs: automerge: name: Enable automerge on dependabot PRs runs-on: ubuntu-latest permissions: contents: write pull-requests: write repository-projects: write if: github.actor == 'dependabot[bot]' && !contains(github.head_ref, 'dependabot/npm_and_yarn/swipl-wasm-') steps: - uses: actions/checkout@v4 - run: gh pr merge ${{ github.event.pull_request.html_url }} --auto --squash env: GH_TOKEN: ${{ github.token }} if: github.actor == 'dependabot[bot]' && contains(github.head_ref, 'dependabot/npm_and_yarn/swipl-wasm-') steps: - uses: actions/checkout@v4 - run: | PR_TITLE="${{ github.event.pull_request.title }}" before=$(echo $PR_TITLE | grep -oP '(?<=from )\d+\.\d+\.\d+') after=$(echo $PR_TITLE | grep -oP '(?<=to )\d+\.\d+\.\d+') readarray -d . -t before <<<"${before:2:-1}" readarray -d . -t after <<<"${current:2:-1}" if [ ! ${before[0]} == ${after[0]} ]; then version="BREAKING CHANGE" branchHead="breaking" elif [ ! ${before[1]} == ${after[1]} ]; then version="feat" branchHead="feat" elif [ ! ${before[2]} == ${after[2]} ]; then version="fix" branchHead="fix" fi PR_TITLE="${PR_TITLE//build/$version}" - run: gh pr merge ${{ github.event.pull_request.html_url }} --auto --squash --body "$PR_TITLE" env: GH_TOKEN: ${{ github.token }}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Should look something like
The text was updated successfully, but these errors were encountered: