Skip to content

Commit c45f2e5

Browse files
Update trigger to push on the branch
1 parent 46831de commit c45f2e5

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/UpdateRuleMetadata.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Update Rule Metadata
22

3-
on: workflow_dispatch
3+
on:
4+
push:
5+
branches:
6+
- 'tt/action-update-rule-metadata'
47

58
env:
69
PR_BRANCH_NAME: update-rule-metadata
@@ -35,7 +38,6 @@ jobs:
3538
run: |
3639
curl --show-error --location -o rule-api.jar --header "X-JFrog-Art-Api: ${TOKEN}" --globoff "${LATEST_RELEASE_URL}"
3740
java -jar rule-api.jar update
38-
sed -i '' 's/rule:java:S3649/rule:javasecurity:S3649/g' 'sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2077.html'
3941
4042
- name: Create PR
4143
run: |

0 commit comments

Comments
 (0)