fix: use INCOMING_WEBHOOK for slack hook #5952
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Automatic Rebase | |
on: | |
issue_comment: | |
types: [created] | |
workflow_dispatch: {} | |
jobs: | |
rebase: | |
name: Rebase | |
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase') | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo | |
- name: Import GPG key | |
uses: crazy-max/ghaction-import-gpg@v6 | |
with: | |
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} | |
passphrase: ${{ secrets.GPG_PASSPHRASE }} | |
git_user_signingkey: true | |
git_commit_gpgsign: true | |
git_tag_gpgsign: true | |
git_config_global: true | |
- name: Automatic Rebase | |
uses: cirrus-actions/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |