martincostello/Update Static Assets
Attempts to update the versions of static CDN assets in a repository.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| repo-token | The GitHub access token to use to create a pull request for any updates to the repository. | yes | — |
| branch-name-prefix | The optional Git branch name prefix to use. | no | "" |
| close-superseded | If true, any existing pull requests superseded by any pull requests opened by the action are closed. | no | true |
| commit-message | The optional Git commit message to use. | no | "" |
| file-extensions | The optional comma-separated file extension(s) to search for static assets within. | no | cshtml,html,razor |
| labels | The optional comma-separated label(s) to apply to pull requests generated by the action. | no | "" |
| repo | The optional GitHub repository to generate the pull request against. | no | ${{ github.repository }} |
| repo-path | The optional path of the repository to check for updates. | no | ${{ github.workspace }} |
| user-email | The optional email address to use for Git commits. | no | github-actions[bot]@users.noreply.github.com |
| user-name | The optional user name to use for Git commits. | no | github-actions[bot] |
Outputs
| name | description |
|---|---|
| assets-updated | Whether any static assets were updated by the action. |
| pulls-closed | A JSON array of the numbers of any pull requests that were closed as superseded. |
| pulls-opened | A JSON array of the numbers of any pull requests that were opened to update static assets. |