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

18 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)

  • before-pr-command [Optional] command to run before creating a PR. (default: none)

Full example

name: Dependency Updater
on:
  schedule:
    - cron: 33 7 * * * # every day at 07:33
  workflow_dispatch: null # allow manual trigger
jobs:
  update-vendors:
    runs-on: ubuntu-latest
    steps:
      - name: Yarn PnP Setup
        uses: Araxeus/setup-yarn-pnp-action@v1

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