Skip to content

Commit c945c7a

Browse files
committed
feat: Add top-level 'session_state_path' input
1 parent 3c74f39 commit c945c7a

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ Trigger the workflow manually or automatically based on your configuration. The
9797
| `repository` | Yes | Repository (with owner) for issues and PRs | `primer/primer-docs` |
9898
| `token` | Yes | PAT with write permissions (see above) | `${{ secrets.GH_TOKEN }}` |
9999
| `cache_key` | No | Custom key for caching findings across runs<br>Allowed: `A-Za-z0-9._/-` | `cached_findings-main-primer.style.json` |
100+
| `session_state_path` | No | Path to a file containing authenticated session state | `/tmp/.auth/12345678/sessionState.json` |
100101
| `skip_copilot_assignment` | No | Whether to skip assigning filed issues to Copilot | `true` |
101102

102103
---

action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ inputs:
1515
cache_key:
1616
description: "Custom key for caching findings across runs"
1717
required: false
18+
session_state_path:
19+
description: "Path to a file containing authenticated session state"
20+
required: false
1821
skip_copilot_assignment:
1922
description: "Whether to skip assigning filed issues to Copilot"
2023
required: false
@@ -44,6 +47,7 @@ runs:
4447
uses: ./.github/actions/find
4548
with:
4649
urls: ${{ inputs.urls }}
50+
session_state_path: ${{ inputs.session_state_path }}
4751
- name: File
4852
id: file
4953
uses: ./.github/actions/file

0 commit comments

Comments
 (0)