Skip to content

Commit

Permalink
Merge pull request #23 from kittydoor/patch-2
Browse files Browse the repository at this point in the history
Add configuration file to usage guide
  • Loading branch information
cplee authored Jul 10, 2024
2 parents 4c66dfd + 21bc0e4 commit c6f44d6
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/usage/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,19 @@ act -j 'test'

> This example will run **all jobs** named `test` in **all workflows** that trigger on `push` event
## Configuration file

Act can be configuring using `.actrc` files. All found arguments will be parsed and appended to a list, in order of: .actrc as per the XDG spec, .actrc in HOME directory, .actrc in invocation directory, cli arguments.

Format: One argument per line, no comments supported.

Example:

```
--container-architecture=linux/amd64
--action-offline-mode
```

# 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 c6f44d6

Please sign in to comment.