WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

πŸ”— Update Dependencies Main #1016

πŸ”— Update Dependencies Main

πŸ”— Update Dependencies Main #1016

name: ' πŸ”— Update Dependencies Main'
on:
push:
branches:
- main
workflow_dispatch:
inputs:
base:
description: The Base Ref to apply the diff
required: false
default: 'main'
schedule:
- cron: '0 12 * * *'
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
update-dependencies:
if: github.repository_owner == 'streetsidesoftware'
runs-on: ubuntu-latest
env:
NEW_BRANCH: update-dependencies-${{ inputs.base || github.ref_name || 'main' }}
REF_BRANCH: ${{ inputs.base || github.ref_name || 'main' }}
PR_TYPE: ci
steps:
- name: Checkout code
uses: actions/checkout@v6
with:
ref: ${{ env.REF_BRANCH }}
- name: Setup
uses: streetsidesoftware/actions/public/setup-node-pnpm@v1
- name: Install
run: pnpm install
- name: Update packages
run: |
pnpm up
- name: PR Body
id: body
uses: streetsidesoftware/actions/public/pr-body@v1
with:
title: Update Dependencies
path: |
package.json
- name: PR
uses: streetsidesoftware/actions/.github/actions/pr@v1
with:
commit-message: '${{ env.PR_TYPE }}: Workflow Bot -- Update ALL Dependencies'
branch: ${{ env.NEW_BRANCH }}
base: ${{ env.REF_BRANCH }}
title: '${{ env.PR_TYPE }}: Workflow Bot -- Update ALL Dependencies'
body: ${{ steps.body.outputs.body }}
app_id: ${{ secrets.AUTOMATION_APP_ID }}
app_private_key: ${{ secrets.AUTOMATION_PRIVATE_KEY }}