mirror of
https://github.com/actions/add-to-project.git
synced 2025-12-11 12:37:16 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
name: Update Dependencies
|
|
on:
|
|
push:
|
|
branches:
|
|
- dependabot/npm_and_yarn/**
|
|
pull_request:
|
|
branches:
|
|
- dependabot/npm_and_yarn/**
|
|
permissions:
|
|
contents: write
|
|
jobs:
|
|
run:
|
|
runs-on: ubuntu-latest
|
|
name: Update licensed cache
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
|
|
- run: npm ci
|
|
|
|
- name: Install licensed
|
|
run: |
|
|
cd $RUNNER_TEMP
|
|
curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/3.6.0/licensed-3.6.0-linux-x64.tar.gz
|
|
sudo tar -xzf licensed.tar.gz
|
|
sudo mv licensed /usr/local/bin/licensed
|
|
- run: licensed cache
|
|
|
|
- name: Rebuild the dist/ directory
|
|
run: |
|
|
npm run build:compile
|
|
npm run build:package
|
|
|
|
- name: Commit changes as Dependabot
|
|
run: |
|
|
git config --global user.name 'dependabot[bot]'
|
|
git config --global user.email '49699333+dependabot[bot]@users.noreply.github.com'
|
|
git add .
|
|
git commit -m "Update licensed cache and dist/ directory" || exit 0
|
|
git push
|