We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c614036 commit 51a8e1bCopy full SHA for 51a8e1b
.github/workflows/update-jmxfetch-submodule.yaml
@@ -8,6 +8,8 @@ on:
8
jobs:
9
build:
10
runs-on: ubuntu-latest
11
+ permissions:
12
+ contents: write
13
steps:
14
- name: Checkout repository
15
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
@@ -22,10 +24,6 @@ jobs:
22
24
- name: Pick a branch name
23
25
id: define-branch
26
run: echo "branch=ci/update-jmxfetch-submodule-$(date +'%Y%m%d')" >> $GITHUB_OUTPUT
- - name: Create branch
- run: |
27
- git checkout -b ${{ steps.define-branch.outputs.branch }}
28
- git push -u origin ${{ steps.define-branch.outputs.branch }} --force
29
- name: Commit and push changes
30
env:
31
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
0 commit comments