Add: Polycrystal #2879
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 backport/sync action | |
on: | |
pull_request_target: | |
types: ["labeled", "closed"] | |
jobs: | |
backport: | |
name: Backport/sync PR | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.merged | |
steps: | |
- name: Install SSH signing key | |
run: | | |
mkdir -p ${{ runner.temp }} | |
echo "${{ secrets.SSH_SIGNING_KEY }}" > ${{ runner.temp }}/signing_key | |
chmod 0700 ${{ runner.temp }}/signing_key | |
- name: Setup Raboneko Signing | |
run: | | |
git config --global gpg.format "ssh" | |
git config --global user.signingkey "${{ runner.temp }}/signing_key" | |
git config --global commit.gpgsign true | |
- name: Backport Action | |
uses: sorenlouv/backport-github-action@v9.3.0 | |
with: | |
github_token: ${{ secrets.RABONEKO_BACKPORT_GITHUB_TOKEN }} | |
auto_backport_label_prefix: sync- | |
- name: Info log | |
if: ${{ success() }} | |
run: cat ~/.backport/backport.info.log | |
- name: Debug log | |
if: ${{ failure() }} | |
run: cat ~/.backport/backport.debug.log |