We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd24057 commit 5c7937eCopy full SHA for 5c7937e
1 file changed
.github/workflows/UpdateRuleMetadata.yml
@@ -1,13 +1,10 @@
1
name: Update Rule Metadata
2
3
-on:
4
- push:
5
- branches:
6
- - 'tt/action-update-rule-metadata'
+on: workflow_dispatch
7
8
env:
9
RULE_API_VERSION: 2.10.0.4287
10
- PR_BRANCH_NAME: update-rule-metadata
+ PR_BRANCH_NAME: gh-action/next-iteration
11
12
jobs:
13
UpdateRuleMetadata_job:
@@ -46,4 +43,9 @@ jobs:
46
43
47
44
- name: Create PR
48
45
run: |
49
- echo TODO
+ git config user.name "${GITHUB_ACTOR}"
+ git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
+ git checkout -b "${{ env.PR_BRANCH_NAME }}"
+ git commit -m 'Update rule metadata' -a
50
+ git push --set-upstream origin "${{ env.PR_BRANCH_NAME }}"
51
+ gh pr create -B master --title 'Update rule metadata' --body ''
0 commit comments