Skip to content

Commit f2de462

Browse files
chore: Cherry-picked changes from upstream (#52)
* fix: update log message when attempting to locate merge base (#2493) * fix: apply code build script * fix: apply code build script * manual workflow file updates --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Raj Kumar Panda <rajkumar@stepsecurity.io>
1 parent 31ad786 commit f2de462

File tree

6 files changed

+3005
-3022
lines changed

6 files changed

+3005
-3022
lines changed

.github/workflows/greetings.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ jobs:
3535
outputs:
3636
files_changed: ${{ steps.changed_files.outputs.files_changed }}
3737
permissions:
38-
contents: read
39-
pull-requests: write
38+
contents: write
39+
pull-requests: read
4040
steps:
4141
- name: Harden the runner (Audit all outbound calls)
4242
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
@@ -100,7 +100,7 @@ jobs:
100100
continue-on-error: true
101101
uses: ad-m/github-push-action@77c5b412c50b723d2a4fbc6d71fb5723bcd439aa # master
102102
with:
103-
github_token: ${{ secrets.PAT_TOKEN }}
103+
github_token: ${{ secrets.GITHUB_TOKEN }}
104104
branch: ${{ github.head_ref }}
105105

106106
- name: Upload build assets

.github/workflows/update-readme.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Format README.md
22

33
permissions:
4-
contents: read
4+
contents: write
55
pull-requests: write
66

77
on:
@@ -27,6 +27,7 @@ jobs:
2727
with:
2828
use_code_blocks: true
2929
use_major_version: true
30+
use_tag_commit_hash: true
3031

3132
- name: Run remark
3233
uses: tj-actions/remark@10fc40701928cbafcc4a2d241679579d218144ff # v3
@@ -55,3 +56,6 @@ jobs:
5556
commit-message: "Updated README.md"
5657
body: "Updated README.md"
5758
token: ${{ secrets.PAT_TOKEN }}
59+
sign-commits: true
60+
token: ${{ secrets.GITHUB_TOKEN }}
61+

0 commit comments

Comments
 (0)