Skip to content

Commit 105591a

Browse files
Fix branch name and add GH token
1 parent e9e00ec commit 105591a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/UpdateRuleMetadata.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
env:
99
RULE_API_VERSION: 2.10.0.4287
10-
PR_BRANCH_NAME: gh-action/next-iteration
10+
PR_BRANCH_NAME: gh-action/update-rule-metadata
1111

1212
jobs:
1313
UpdateRuleMetadata_job:
@@ -45,6 +45,8 @@ jobs:
4545
sed --in-place='' -e 's/rule:java:S3649/rule:javasecurity:S3649/g' 'sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2077.html'
4646
4747
- name: Create PR
48+
env:
49+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4850
run: |
4951
git config user.name "${GITHUB_ACTOR}"
5052
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"

0 commit comments

Comments
 (0)