Skip to content

Commit 1f81585

Browse files
update setup-go action version and improve message formatting
Signed-off-by: Mohammed Firdous <124298708+mohammedfirdouss@users.noreply.github.com>
1 parent b61d096 commit 1f81585

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

.github/workflows/first-time-contributor.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,18 @@ jobs:
3636
return;
3737
}
3838
39-
const body = `
40-
👋 Hi @${prAuthor}, thanks for opening your first pull request to **PipeCD**!
41-
42-
Here are a few helpful resources to get started:
43-
- Contributing guide: \`CONTRIBUTING.md\`
44-
- Common commands:
45-
- \`make test\`
46-
- \`make lint\`
47-
48-
If you have any questions, feel free to ask in this PR.
49-
Thanks for contributing!
50-
`;
39+
const body = [
40+
`👋 Hi @${prAuthor}, thanks for opening your first pull request to **PipeCD**!`,
41+
'',
42+
'Here are a few helpful resources to get started:',
43+
'- Contributing guide: `CONTRIBUTING.md`',
44+
'- Common commands:',
45+
' - `make test`',
46+
' - `make lint`',
47+
'',
48+
'If you have any questions, feel free to ask in this PR.',
49+
'Thanks for contributing!'
50+
].join('\n');
5151
5252
await github.rest.issues.createComment({
5353
owner,

.github/workflows/lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ jobs:
106106
module: ${{ fromJSON(needs.list-go-modules.outputs.modules) }}
107107
steps:
108108
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
109-
- uses: actions/setup-go@v5
109+
- uses: actions/setup-go@v3
110110
with:
111111
go-version: ${{ env.GO_VERSION }}
112112
- name: Install govulncheck

0 commit comments

Comments
 (0)