Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .config/copier/.copier-answers.release.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This file is @generated by <https://github.com/liblaf/copier-release>.
# DO NOT EDIT!
_commit: v0.2.6
_commit: v0.2.8
_src_path: gh:liblaf/copier-release
2 changes: 1 addition & 1 deletion .config/copier/.copier-answers.shared.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is @generated by <https://github.com/liblaf/copier-shared>.
# DO NOT EDIT!
_commit: v0.2.8
_commit: v0.2.9
_src_path: gh:liblaf/copier-share
author_email: 30631553+liblaf@users.noreply.github.com
author_name: liblaf
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-draft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jobs:
if: startsWith(github.head_ref, 'release-please/') && github.event.pull_request.merged
runs-on: ubuntu-latest
environment:
name: Release Please
name: release-please
deployment: false
steps:
- id: auth
name: Auth
uses: liblaf/actions/auth@1f83732587ff97f1babbe9218fdc5436dda1a16f # v1
uses: liblaf/actions/auth@12ffbdf8f37ab1ff07565b44b643fd8433621cd7 # v1
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.PRIVATE_KEY }}
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/release-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ jobs:
with:
fetch-depth: 0
- name: Install git-cliff
uses: taiki-e/install-action@6ef672efc2b5aabc787a9e94baf4989aa02a97df # v2
uses: taiki-e/install-action@7a562dfa955aa2e4d5b0fd6ebd57ff9715c07b0b # v2
with:
tool: git-cliff
- id: version
name: Next version
uses: liblaf/actions/next-version@1f83732587ff97f1babbe9218fdc5436dda1a16f # v1
uses: liblaf/actions/next-version@12ffbdf8f37ab1ff07565b44b643fd8433621cd7 # v1
env:
GIT_CLIFF_CONFIG_URL: ${{ env.GIT_CLIFF_CONFIG_URL }}
GITHUB_TOKEN: ${{ github.token }}
Expand All @@ -53,12 +53,12 @@ jobs:
if: needs.version.outputs.bumped == 'true'
runs-on: ubuntu-latest
environment:
name: Release Please
name: release-please
deployment: false
steps:
- id: auth
name: Auth
uses: liblaf/actions/auth@1f83732587ff97f1babbe9218fdc5436dda1a16f # v1
uses: liblaf/actions/auth@12ffbdf8f37ab1ff07565b44b643fd8433621cd7 # v1
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.PRIVATE_KEY }}
Expand All @@ -67,7 +67,7 @@ jobs:
with:
fetch-depth: 0
- name: Install git-cliff
uses: taiki-e/install-action@6ef672efc2b5aabc787a9e94baf4989aa02a97df # v2
uses: taiki-e/install-action@7a562dfa955aa2e4d5b0fd6ebd57ff9715c07b0b # v2
with:
tool: git-cliff
- name: Generate changelog
Expand Down Expand Up @@ -105,4 +105,3 @@ jobs:
automerge
release-please
assignees: ${{ github.repository_owner }}
reviewers: ${{ github.repository_owner }}
4 changes: 2 additions & 2 deletions .github/workflows/release-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
contents: write
runs-on: ubuntu-latest
environment:
name: Release Please
name: release-please
deployment: false
steps:
- id: auth
Expand All @@ -27,5 +27,5 @@ jobs:
- name: Publish drafts
uses: liblaf/actions/publish-drafts@1f83732587ff97f1babbe9218fdc5436dda1a16f # v1
with:
older-than: 6h
older-than: 6hr
token: ${{ steps.auth.outputs.token }}
38 changes: 38 additions & 0 deletions .github/workflows/shared-approve.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# This file is @generated by <https://github.com/liblaf/copier-shared>.
# DO NOT EDIT!

name: Shared / Approve

on:
schedule:
- cron: "0 0 * * 0" # Runs at 00:00, only on Sunday
workflow_dispatch:

env:
FORCE_COLOR: 1

jobs:
approve:
name: Approve
runs-on: ubuntu-latest
environment:
name: approve
deployment: false
steps:
- id: auth
name: Auth
uses: liblaf/actions/auth@12ffbdf8f37ab1ff07565b44b643fd8433621cd7 # v1
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.PRIVATE_KEY }}
- name: Approve
uses: liblaf/actions/approve@12ffbdf8f37ab1ff07565b44b643fd8433621cd7 # v1
with:
approve-token: ${{ steps.auth.outputs.token }}
label: ${{ matrix.label }}
strategy:
matrix:
label:
- copier
- release-please
fail-fast: false
7 changes: 3 additions & 4 deletions .github/workflows/shared-copier-update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: Shared / Copier Update

on:
schedule:
- cron: "0 0 * * 0" # Runs at 00:00, only on Sunday
- cron: "0 0 * * 6" # Runs at 00:00, only on Saturday
workflow_dispatch:

env:
Expand All @@ -20,12 +20,12 @@ jobs:
pull-requests: write
runs-on: ubuntu-latest
environment:
name: Copier
name: copier
deployment: false
steps:
- id: auth
name: Auth
uses: liblaf/actions/auth@1f83732587ff97f1babbe9218fdc5436dda1a16f # v1
uses: liblaf/actions/auth@12ffbdf8f37ab1ff07565b44b643fd8433621cd7 # v1
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.PRIVATE_KEY }}
Expand Down Expand Up @@ -59,4 +59,3 @@ jobs:
automerge
copier
assignees: ${{ github.repository_owner }}
reviewers: ${{ github.repository_owner }}
26 changes: 15 additions & 11 deletions .github/workflows/shared-mega-linter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ on:

env:
FORCE_COLOR: 1
GIT_COMMIT_MESSAGE: "chore(mega-linter): apply linters automatic fixes"

jobs:
mega-linter:
Expand All @@ -27,7 +26,7 @@ jobs:
pull-requests: write
runs-on: ubuntu-latest
environment:
name: MegaLinter
name: mega-linter
deployment: false
outputs:
pull-request-url: ${{ steps.pr.outputs.pull-request-url }}
Expand Down Expand Up @@ -66,32 +65,37 @@ jobs:
uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8
with:
token: ${{ steps.auth.outputs.token }}
commit-message: ${{ env.GIT_COMMIT_MESSAGE }}
commit-message: "chore(mega-linter): apply linters automatic fixes"
branch: mega-linter/${{ github.head_ref || github.ref_name }}
delete-branch: true
sign-commits: true
title: ${{ env.GIT_COMMIT_MESSAGE }}
title: "chore(mega-linter): apply linters automatic fixes"
body-path: ${{ runner.temp }}/megalinter-report.md
labels: |-
automerge
mega-linter
assignees: ${{ github.repository_owner }}
reviewers: ${{ github.repository_owner }}

review:
name: Review
approve:
name: Approve
permissions:
pull-requests: write
needs:
- mega-linter
if: needs.mega-linter.outputs.pull-request-url
runs-on: ubuntu-latest
environment:
name: Review
name: approve
deployment: false
steps:
- name: Review
uses: liblaf/actions/review@1f83732587ff97f1babbe9218fdc5436dda1a16f # v1
- id: auth
name: Auth
uses: liblaf/actions/auth@12ffbdf8f37ab1ff07565b44b643fd8433621cd7 # v1
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.PRIVATE_KEY }}
- name: Approve
uses: liblaf/actions/approve@12ffbdf8f37ab1ff07565b44b643fd8433621cd7 # v1
with:
approve-token: ${{ steps.auth.outputs.token }}
pull: ${{ needs.mega-linter.outputs.pull-request-url }}
review-token: ${{ secrets.REVIEW_TOKEN }}
33 changes: 0 additions & 33 deletions .github/workflows/shared-review.yaml

This file was deleted.