Action for updating vendorfiles
- uses: Araxeus/vendorfiles-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
package-manager: yarn-
token[Required] GitHub token for the repository. -
package-manager[Optional] command to run beforevendorcommand. For example,yarnornpm run. (default: none) -
config[Optional] path to the vendor config file or folder containing the config file. Adds--config <path>to the vendor update command. (default: none) -
before-pr-command[Optional] command to run before creating a PR. (default: none)
name: Dependency Updater
permissions:
contents: read
pull-requests: write
on:
schedule:
- cron: 33 7 * * * # every day at 07:33
workflow_dispatch: null # allow manual trigger
jobs:
update-vendors:
runs-on: ubuntu-latest
steps:
- run: bun install
- name: Run vendor update
uses: Araxeus/vendorfiles-action@v1
with:
token: '${{ secrets.GITHUB_TOKEN }}'
package-manager: bun