Skip to content

chore(deps): bump stefanzweifel/git-auto-commit-action from 4.16.0 to 5.0.0 #619

chore(deps): bump stefanzweifel/git-auto-commit-action from 4.16.0 to 5.0.0

chore(deps): bump stefanzweifel/git-auto-commit-action from 4.16.0 to 5.0.0 #619

Workflow file for this run

name: 'CI'
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v3
- uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # ratchet:actions/setup-node@v3
with:
node-version: 20
# build and test action
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Check format and lint
run: yarn run format-check && yarn lint
- name: Build and package
run: yarn build
# update docs
- uses: npalm/action-docs-action@b62a69e27ae389aa92b450f647d37409b9277bf0 # ratchet:npalm/action-docs-action@v1.4.0
- name: Update dist in the repository
if: github.ref != 'refs/heads/main'
uses: stefanzweifel/git-auto-commit-action@8756aa072ef5b4a080af5dc8fef36c5d586e521d # ratchet:stefanzweifel/git-auto-commit-action@v5.0.0
with:
commit_message: 'chore(ci): Updating dist and docs'
file_pattern: 'dist/* README.md'
- name: Create Pull Request (main branch only)
if: github.ref == 'refs/heads/main' && github.repository_owner == 'philips-software'
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 # ratchet:peter-evans/create-pull-request@v5.0.2
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: 'chore(ci): Updating dist and docs'
title: 'chore(ci): Updating dist and docs'
branch: update-docs
branch-suffix: random
base: ${{ github.event.pull_request.base.ref }}
delete-branch: true
release:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
needs: build
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v3
with:
fetch-depth: 0
- name: Release
uses: google-github-actions/release-please-action@e0b9d1885d92e9a93d5ce8656de60e3b806e542c # ratchet:google-github-actions/release-please-action@v3
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
release-type: simple