Bump axios from 1.4.0 to 1.6.1 #4
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
name: Life Machine | |
on: | |
pull_request: | |
branches: [ main, master ] | |
permissions: | |
pull-requests: write | |
jobs: | |
publish: | |
if: ${{ github.actor == 'dependabot[bot]' }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
# Installs npm packages | |
- run: npm ci | |
# Runs Life Machine | |
- run: npm run life-machine ?workflow ${{ secrets.LM_NPM_TOKEN }} ${{ secrets.GITHUB_TOKEN }} ${{ secrets.LM_DISCORD_TOKEN }} | |
if: ${{ success() }} | |
# Merge PR | |
- name: Dependabot metadata | |
id: metadata | |
uses: dependabot/fetch-metadata@v1 | |
with: | |
github-token: "${{ secrets.GITHUB_TOKEN }}" | |
if: ${{ success() }} | |
- name: Merge the PR | |
run: gh pr merge ${{ github.event.pull_request.number }} --auto --squash --merge-message "Merged by workflow" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
if: ${{ success() }} |