Skip to content

Commit 87e1b68

Browse files
Potential fixes for 3 code quality findings (#104)
* Apply suggested fix to troubleshooting/codeql-builds/compiled-languages-go.md from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> * Apply suggested fix to troubleshooting/codeql-builds/compiled-languages-go.md from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> * Apply suggested fix to troubleshooting/codeql-builds/compiled-languages-go.md from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> --------- Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
1 parent 1da30c7 commit 87e1b68

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

troubleshooting/codeql-builds/compiled-languages-go.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ There are a few options when it comes to private repositories:
1010
### Advanced Setup
1111

1212
Setting up the Go environment can be done by adding a Actions step to update the [Go settings](https://go.dev/ref/mod#private-modules) pointing them to use a [GitHub Personal Access Token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token) with the corresponding access to the private repository.
13-
The example below shows how this can be done using a single step before the CodeQL Initize step - storing the GitHub PAT in an Actions Secret.
13+
The example below shows how this can be done using a single step before the CodeQL Initialize step - storing the GitHub PAT in an Actions Secret.
1414

1515
**Example:**
1616

@@ -36,7 +36,7 @@ jobs:
3636
Alternatively, pass the token into the CodeQL init action to allow it to be used for downstream git operations:
3737

3838
```yml
39-
- uses: github/codeql-action/init@v3
39+
- uses: github/codeql-action/init@v4 # Check docs for latest recommended major version
4040
with:
41-
external-repository-token: ${{ secrets.GOLANG_GITHUB_TOKEN }}
41+
external-repository-token: ${{ secrets.GOLANG_GITHUB_TOKEN }}
4242
```

0 commit comments

Comments
 (0)