Skip to content

Commit

Permalink
Document .secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoref authored Feb 1, 2024
1 parent 12c0c42 commit 651e713
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,12 @@ To run `act` with secrets, you can enter them interactively, supply them as envi
- `act --secret-file my.secrets` - load secrets values from `my.secrets` file.
- secrets file format is the same as `.env` format

## `.secrets`

By default you can create a `.secrets` file in the root of the repository and it will be used automatically.

Note that you should add `.secrets` to your `.gitignore` file, otherwise the `.secrets` file will be leaked to your workflows.

# Vars

To run `act` with repository variables that are acessible inside the workflow via ${{ vars.VARIABLE }}, you can enter them interactively or load them from a file. The following options are available for providing github repository variables:
Expand Down

0 comments on commit 651e713

Please sign in to comment.