-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: drop calens and add default structure
- Loading branch information
Showing
16 changed files
with
632 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
--- | ||
exclude_paths: | ||
- .github/** | ||
- changelog/** | ||
|
||
- CHANGELOG.md | ||
|
||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,6 +34,7 @@ branches: | |
restrictions: | ||
apps: | ||
- renovate | ||
- gopad | ||
users: [] | ||
teams: | ||
- admins | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
--- | ||
name: automerge | ||
|
||
"on": | ||
workflow_dispatch: | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
jobs: | ||
dependabot: | ||
runs-on: ubuntu-latest | ||
if: github.actor == 'dependabot[bot]' | ||
|
||
steps: | ||
- name: Generate token | ||
id: token | ||
uses: tibdex/github-app-token@v2 | ||
with: | ||
app_id: ${{ secrets.TOKEN_EXCHANGE_APP }} | ||
installation_retrieval_mode: id | ||
installation_retrieval_payload: ${{ secrets.TOKEN_EXCHANGE_INSTALL }} | ||
private_key: ${{ secrets.TOKEN_EXCHANGE_KEY }} | ||
permissions: >- | ||
{"contents": "write", "pull_requests": "write", "issues": "write"} | ||
- name: Fetch metadata | ||
id: metadata | ||
uses: dependabot/fetch-metadata@v2 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Approve request | ||
id: approve | ||
run: gh pr review --approve "${{github.event.pull_request.html_url}}" | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Enable automerge | ||
id: automerge | ||
run: gh pr merge --rebase --auto "${{github.event.pull_request.html_url}}" | ||
env: | ||
GH_TOKEN: ${{ steps.token.outputs.token }} | ||
|
||
... |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
--- | ||
name: flake | ||
|
||
"on": | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "0 8 * * 1" | ||
|
||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
jobs: | ||
flake: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Generate token | ||
id: token | ||
uses: tibdex/github-app-token@v2 | ||
with: | ||
app_id: ${{ secrets.TOKEN_EXCHANGE_APP }} | ||
installation_retrieval_mode: id | ||
installation_retrieval_payload: ${{ secrets.TOKEN_EXCHANGE_INSTALL }} | ||
private_key: ${{ secrets.TOKEN_EXCHANGE_KEY }} | ||
permissions: >- | ||
{"contents": "write", "pull_requests": "write"} | ||
- name: Checkout source | ||
id: source | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install nix | ||
id: nix | ||
uses: cachix/install-nix-action@v27 | ||
|
||
- name: Update flake | ||
id: flake | ||
uses: DeterminateSystems/update-flake-lock@v21 | ||
with: | ||
commit-msg: "chore(flake): updated lockfile" | ||
pr-title: "chore: automated flake update" | ||
pr-body: "New flakelock generated, automerge should handle that!" | ||
pr-labels: renovate | ||
git-author-name: GitHub Actions | ||
git-author-email: [email protected] | ||
token: ${{ steps.token.outputs.token }} | ||
|
||
- name: Enable automerge | ||
id: automerge | ||
if: steps.flake.outputs.pull-request-operation == 'created' | ||
run: gh pr merge --rebase --auto "${{ steps.flake.outputs.pull-request-number }}" | ||
env: | ||
GH_TOKEN: ${{ steps.token.outputs.token }} | ||
|
||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.direnv | ||
.devenv |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.