actions-marketplace-validations/Drat upload
Upload an R package to a personal drat repository
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| package | The GitHub repository for the package to upload | yes | ${{ github.repository }} |
| drat_repo | The GitHub repository for the drat repo to update | yes | — |
| token | Personal access token (PAT) used to fetch the repository. The PAT is configured with the local git config, which enables your scripts to run authenticated git commands. The post-job step removes the PAT. We recommend using a service account with the least permissions necessary. Also when generating a new PAT, select the least scopes necessary. [Learn more about creating and using encrypted secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets) | yes | ${{ github.token }} |
| commit_message | The commit message to use when updating the drat repo | yes | Automated update |
| commit_author | The author to write the commit as | yes | Drat Updater |
| commit_email | The email to associate the commit with | yes | — |
| prune | Boolean: if `true`, this will run `pruneRepoForAllRversions()` after updating the repository. | yes | false |
| archive | Boolean: if `true`, this will run `archivePackages()` after updating the repository. | yes | false |
Outputs
no outputs