Skip to content

Commit

Permalink
Merge pull request #1042 from 5000164/feature/update-document-about-g…
Browse files Browse the repository at this point in the history
…ithub-actions

Update GitHub Action documentation for Docker image stability and security
  • Loading branch information
mrT23 authored Jul 17, 2024
2 parents 1b2a207 + 80bbe23 commit 6871193
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions docs/docs/installation/github.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,23 @@ jobs:
```
if you want to pin your action to a specific release (v2.0 for example) for stability reasons, use:
if you want to pin your action to a specific release (v0.23 for example) for stability reasons, use:
```yaml
...
steps:
- name: PR Agent action step
id: pragent
uses: Codium-ai/[email protected]
uses: docker://codiumai/pr-agent:0.23-github_action
...
```

For enhanced security, you can also specify the Docker image by its digest:
```yaml
...
steps:
- name: PR Agent action step
id: pragent
uses: docker://codiumai/pr-agent@sha256:14165e525678ace7d9b51cda8652c2d74abb4e1d76b57c4a6ccaeba84663cc64
...
```

Expand Down

0 comments on commit 6871193

Please sign in to comment.