Skip to content

Commit 1bc3270

Browse files
authored
Update package-update.yml
1 parent 9aef2aa commit 1bc3270

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/package-update.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212

1313
permissions:
1414
contents: write
15+
pull-requests: write
1516

1617
jobs:
1718
update:
@@ -51,7 +52,7 @@ jobs:
5152
git config --global user.name "$ACTOR (on behalf of $TRIGGERING_ACTOR)"
5253
git config --global user.email "$ACTOR@users.noreply.github.com"
5354
git commit --message "Update $PKG to $VERSION"
54-
git push --force
55+
gh pr create --fill --label automated
5556
else
5657
echo '::warning::No changes detected. Skipping push.'
5758
fi

0 commit comments

Comments
 (0)