Skip to content

Commit

Permalink
Merge pull request #16506 from mshima/skip_ci-lock_maintenance
Browse files Browse the repository at this point in the history
Add lock-maintenance workflow. [skip ci]
  • Loading branch information
pascalgrimaud authored Oct 2, 2021
2 parents 7ec3f4f + 32b5c13 commit e1ecde2
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/lock-maintenance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Package lock maintenance
on:
schedule:
- cron: 0 0 * * 6
workflow_dispatch:

jobs:
build:
name: Bump transitional dependencies
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v2.4.0
with:
node-version: '14'
- run: npm install -g npm@latest
- uses: actions/checkout@v2.3.4
- uses: actions/cache@v2.1.6
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}-
restore-keys: |
${{ runner.os }}-node-
- name: Create commit
run: |
rm package-lock.json
npm install
git add .
./test-integration/scripts/04-git-config.sh
git commit -a -m "Bump transitional dependencies" || true
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3.8.2
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: 'Bump transitional dependencies'
title: 'Bump transitional dependencies'
body: Weekly transitional dependencies bump.
labels: 'theme: dependencies'

0 comments on commit e1ecde2

Please sign in to comment.