CI: do nothing instead of failing if trying to backport a PR

This commit is contained in:
Loïc Dachary 2023-08-18 22:40:26 +02:00 committed by Loïc Dachary
parent 4a3f87ad43
commit db05f79562

View file

@ -24,6 +24,7 @@ jobs:
) )
steps: steps:
- name: send backport if the label "backport {branch}" is present - name: send backport if the label "backport {branch}" is present
if: secrets.WEBSITETOKEN != ''
uses: https://github.com/tibdex/backport@v2 uses: https://github.com/tibdex/backport@v2
with: with:
github_token: ${{ secrets.WEBSITETOKEN }} github_token: ${{ secrets.WEBSITETOKEN }}