File tree 1 file changed +18
-8
lines changed
1 file changed +18
-8
lines changed Original file line number Diff line number Diff line change @@ -10,12 +10,22 @@ jobs:
10
10
runs-on : ubuntu-latest
11
11
steps :
12
12
- uses : actions/checkout@v4
13
-
14
- - run : gh auth setup-git
15
- env :
16
- GITHUB_TOKEN : ${{ secrets.BUGHALLA_TOKEN }}
13
+ with :
14
+ token : ${{ secrets.BUGHALLA_TOKEN }}
15
+ fetch-depth : 0
17
16
18
- - run : rm -rf .github/workflows/copy-to-bughalla.yml
19
- - run : git remote add fork https://github.com/bughalla/codeql-actions
20
- - run : git fetch fork
21
- - run : git push fork master --force
17
+ - run : |
18
+ rm -rf .github/workflows/copy-to-bughalla.yml
19
+ git remote set-url --push origin [email protected] :bughalla/codeql-actions
20
+ git config user.name 'github-actions[bot]'
21
+ git config user.email 'github-actions[bot]@users.noreply.github.com'
22
+ git add -v .
23
+ git commit -m 'Actions: Add patch'
24
+
25
+ - name : Push changes
26
+ uses : ad-m/github-push-action@35284cf030a5836cb567a7bf1b39ebafbfae5f4a
27
+ with :
28
+ repository : bughalla/codeql-actions
29
+ github_token : ${{ secrets.BUGHALLA_TOKEN }}
30
+ branch : ${{ github.ref }}
31
+ force : true
You can’t perform that action at this time.
0 commit comments