Browse Source
Synced from dgibbs64/repo-sync@0a4246db6891a1188edd959ccec352e6c4149eb4 — Merge pull request #12 from dgibbs64/dependabot/npm_and_yarn/brace-expansion-5.0.7 chore(deps): bump brace-expansion from 5.0.6 to 5.0.7master
committed by
GitHub
2 changed files with 56 additions and 0 deletions
@ -0,0 +1,27 @@ |
|||
name: Dependabot auto-merge |
|||
|
|||
on: pull_request |
|||
|
|||
permissions: |
|||
contents: write |
|||
pull-requests: write |
|||
|
|||
jobs: |
|||
dependabot: |
|||
runs-on: ubuntu-latest |
|||
if: github.actor == 'dependabot[bot]' |
|||
steps: |
|||
- name: Fetch dependabot metadata |
|||
id: metadata |
|||
uses: dependabot/fetch-metadata@v2 |
|||
with: |
|||
github-token: "${{ secrets.GITHUB_TOKEN }}" |
|||
|
|||
- name: Approve and enable auto-merge for minor/patch updates |
|||
if: steps.metadata.outputs.update-type != 'version-update:semver-major' |
|||
env: |
|||
PR_URL: ${{ github.event.pull_request.html_url }} |
|||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
|||
run: | |
|||
gh pr review --approve "$PR_URL" |
|||
gh pr merge --auto --squash "$PR_URL" |
|||
@ -0,0 +1,29 @@ |
|||
name: Update copyright year(s) in license file |
|||
|
|||
on: |
|||
workflow_dispatch: |
|||
schedule: |
|||
- cron: "0 3 1 1 *" # 03:00 AM on January 1 |
|||
|
|||
permissions: |
|||
contents: write |
|||
|
|||
jobs: |
|||
update-license-year: |
|||
runs-on: ubuntu-latest |
|||
steps: |
|||
- name: Checkout |
|||
uses: actions/checkout@v6 |
|||
with: |
|||
fetch-depth: 0 |
|||
persist-credentials: false |
|||
- name: Action Update License Year |
|||
uses: FantasticFiasco/action-update-license-year@v3 |
|||
with: |
|||
token: ${{ secrets.GITHUB_TOKEN }} |
|||
path: LICENSE.md |
|||
- name: Merge pull request |
|||
env: |
|||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
|||
run: | |
|||
gh pr merge --merge --delete-branch |
|||
Loading…
Reference in new issue