chore(deps): bump axios from 1.7.3 to 1.7.4 #2358
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Copyright (c) 2023 Red Hat, Inc. | |
# This program and the accompanying materials are made | |
# available under the terms of the Eclipse Public License 2.0 | |
# which is available at https://www.eclipse.org/legal/epl-2.0/ | |
# | |
# SPDX-License-Identifier: EPL-2.0 | |
# | |
# every time root/yarn.lock is updated, copy it to tools/build/yarn.lock | |
# so that downstream builds can use the second yarn.lock for cachito processes | |
# Note: to regenerate the yarn.lock file, use: | |
# rm -f yarn.lock tools/build/yarn.lock; yarn install --mode update-lockfile; cp yarn.lock tools/build/yarn.lock | |
name: Copy yarn.lock to tools/build/ | |
on: | |
push: | |
branches: | |
- "dependabot/npm_and_yarn/**" | |
jobs: | |
copy-yarn-lock: | |
runs-on: ubuntu-22.04 | |
if: github.actor == 'dependabot[bot]' | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 2 | |
token: ${{secrets.CHE_BOT_GITHUB_TOKEN}} | |
- name: Copy yarn.lock | |
run: | | |
rm -f tools/build/yarn.lock; cp yarn.lock tools/build/yarn.lock | |
- name: Config Git | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "Che bot" | |
- name: Commit changes | |
run: | | |
git add tools/build/yarn.lock | |
git commit --amend --no-edit --signoff | |
git push -f || true |