Skip to content

chore(deps-dev): bump braces from 3.0.2 to 3.0.3 #42

chore(deps-dev): bump braces from 3.0.2 to 3.0.3

chore(deps-dev): bump braces from 3.0.2 to 3.0.3 #42

Workflow file for this run

name: "Check license & format"
on:
push:
branches: [ main ]
pull_request_target:
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout commit
if: github.event_name == 'push'
uses: actions/checkout@v3
- name: Checkout pull request
if: github.event_name == 'pull_request_target'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: actions/checkout@v3
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
- name: Check license headers
uses: apache/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
config: .github/licenserc.yml
mode: fix
- name: Commit licensed files
if: github.event_name == 'pull_request_target'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: EndBug/[email protected]
with:
default_author: github_actions
message: "chore: add license header(s)"
- name: Create pull request
if: github.event_name == 'push'
uses: peter-evans/create-pull-request@v3
with:
author: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
commit-message: "chore: add license header(s)"
title: "chore: add license header(s)"
body: Add missing license header(s) in source and test code.
branch: add-license