Fred Boniface
aff89c02c5
All checks were successful
Generate Release / validate_and_release (push) Successful in 13s
44 lines
1.3 KiB
YAML
44 lines
1.3 KiB
YAML
name: Generate Release
|
|
|
|
run-name: Release_Generator
|
|
on:
|
|
push:
|
|
branches:
|
|
- auto-*
|
|
- workflow_update
|
|
|
|
jobs:
|
|
validate_and_release:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
steps:
|
|
- name: Check out Repo code
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Validate YAML
|
|
uses: https://github.com/GrantBirki/json-yaml-validate@v2.6.1
|
|
|
|
- name: Install Dependencies
|
|
run: npm i
|
|
|
|
- name: Merge to gw.yaml
|
|
run: node ./scripts/merge-yaml.js
|
|
|
|
- name: Commit Changes
|
|
uses: https://github.com/stefanzweifel/git-auto-commit-action@v5
|
|
with:
|
|
commit_message: Sort & Merge PIS Files
|
|
commit_user_name: owlbot
|
|
commit_user_email: owlbot@owlboard.info
|
|
commit_author: owlbot <owlbot@owlboard.info>
|
|
|
|
- name: Create PR
|
|
uses: https://github.com/peter-evans/create-pull-request@v6
|
|
with:
|
|
token: ${{ secrets.OWLBOT_KEY }}
|
|
committer: OwlBot <owlbot@owlboard.info>
|
|
signoff: true
|
|
title: Merge Changes
|
|
reviewers: fred.boniface
|
|
branch: main |