fix: auto update pr workflow
@@ -5,6 +5,7 @@ on:
branches:
- 'main'
- 'release-*'
+
jobs:
autoupdate:
permissions:
@@ -15,7 +16,7 @@ jobs:
uses: adRise/update-pr-branch@437fab6e0ac7d2a668f2c479f64225edd7f303fd # v0.6.0
with:
token: ${{ secrets.PR_UPDATE_TOKEN }}
- base: ${{ env.GITHUB_REF_NAME }}
+ base: ${{ github.ref_name }}
required_approval_count: 1
require_passed_checks: true
sort: 'updated'
