Skip to content

Araxeus/vendorfiles-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vendorfiles-action

Action for updating vendorfiles

Usage

- uses: Araxeus/vendorfiles-action@v1
  with:
    token: ${{ secrets.GITHUB_TOKEN }}
    package-manager: yarn

Inputs

  • token [Required] GitHub token for the repository.

  • package-manager [Optional] command to run before vendor command. For example, yarn or npm 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)

Full example

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

About

Action for updating vendorfiles

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •