-
-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[sync] Updates from
awesome-template
repository
Signed-off-by: kdeldycke <[email protected]>
- Loading branch information
kdeldycke
committed
Mar 3, 2024
1 parent
1884788
commit 02eb1cf
Showing
10 changed files
with
147 additions
and
86 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
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 |
---|---|---|
@@ -1,11 +1,32 @@ | ||
[allowlist] | ||
description = "False positives" | ||
commits = [ | ||
|
||
### kdeldycke/awesome-billing | ||
# Twitter status IDs. | ||
"5b54ac1befb7a768a18b2abd4a7b091766ee7609", | ||
"4607e5923f1889ce5136b1a6bdfbddd769cd7fc3", | ||
"1cfd0513359a5ce20b538b6a637d40c4cc50a37f", | ||
|
||
|
||
### kdeldycke/awesome-engineering-team-management | ||
# Twitter status IDs. | ||
"044ccf813c180d1b52fa550549f1e3ffe7ad3176", | ||
"4ee04962090c60f9d2bd26e507584c95b2f039cb", | ||
"e945e90fbcd4b610d71cbe766b1c909b51c674a5", | ||
"bdae66b4dbc54fcf66aa2c5bf61598c894a6172d", | ||
"6462b4a4b0335823f2a9e8412a1c10a38561900e", | ||
"ac1dd92507ed071da3ac5270484a152bfef93aa2", | ||
"e9eb3864157f504cb29fab33d4f63748302c963d", | ||
"a43eef1b55fff47879fe671abbebc7e279d59999", | ||
"1a5e33dd31d129a1335ae2418ec43bf1d43c3760", | ||
"0e05ffafc90dd4ea337aca7372c983e143ba48a8", | ||
"0e93d0ced146e4a32a1838b1aa4dbf2d20703964", | ||
"df0e49b612e68b9389c671463640e5d17b479231", | ||
"b743e4aecc5822c51aa088312b20d4965720aa7e", | ||
"94c532529b78b20e9363bded9e2788dd03a59832", | ||
"f0fe92563a14f93dbe07579ff735b844cfb69a7d", | ||
"a804606fb0794615df5c078ab220b615796e1ba9", | ||
"14d523e38ebe8f2859646c4cb9736b1843802476", | ||
"36c488d8b52f66120d51b0fbb7b93667453461fe", | ||
"1da97b40558cd6c5941edd2db9f9a58407d5a3bf", | ||
"56f8e6771c88625ed82e6663961fc2874c53f874", | ||
] |
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 |
---|---|---|
|
@@ -10,4 +10,4 @@ name: Autofix | |
jobs: | ||
|
||
autofix: | ||
uses: kdeldycke/workflows/.github/workflows/[email protected].4 | ||
uses: kdeldycke/workflows/.github/workflows/[email protected].0 |
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 |
---|---|---|
|
@@ -8,4 +8,4 @@ name: Autolock | |
jobs: | ||
|
||
autolock: | ||
uses: kdeldycke/workflows/.github/workflows/[email protected].4 | ||
uses: kdeldycke/workflows/.github/workflows/[email protected].0 |
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 |
---|---|---|
|
@@ -9,71 +9,5 @@ name: Docs | |
|
||
jobs: | ||
|
||
#docs: | ||
# uses: kdeldycke/workflows/.github/workflows/[email protected] | ||
|
||
|
||
awesome-template-sync: | ||
name: Sync awesome template | ||
if: > | ||
startsWith(github.event.repository.name, 'awesome-') | ||
&& github.event.repository.name != 'awesome-template' | ||
runs-on: ubuntu-22.04 | ||
# We need custom PAT through the whole job so we get workflow permissions to update all the boilerplate .github | ||
# files from awesome-template. | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
token: ${{ secrets.WORKFLOW_UPDATE_GITHUB_PAT || secrets.GITHUB_TOKEN }} | ||
- name: Sync from template repo | ||
id: template_sync | ||
uses: AndreasAugustin/[email protected] | ||
with: | ||
github_token: ${{ secrets.WORKFLOW_UPDATE_GITHUB_PAT || secrets.GITHUB_TOKEN }} | ||
source_repo_path: kdeldycke/awesome-template | ||
pr_title: "[sync] Updates from `awesome-template` repository" | ||
pr_commit_msg: "[sync] Updates from `awesome-template` repository" | ||
pr_branch_name_prefix: "sync-awesome-template" | ||
pr_labels: "📚 documentation" | ||
|
||
- name: Print PR branch ID | ||
run: | | ||
echo "PR branch ID: ${{ steps.template_sync.outputs.pr_branch }}" | ||
- name: Checkout template sync PR | ||
uses: actions/[email protected] | ||
with: | ||
ref: ${{ steps.template_sync.outputs.pr_branch }} | ||
token: ${{ secrets.WORKFLOW_UPDATE_GITHUB_PAT || secrets.GITHUB_TOKEN }} | ||
|
||
- name: List commits | ||
run: | | ||
git log | ||
- name: Update repo URLs | ||
# Replace "/kdeldycke/awesome-template/" in URLs by "/kdeldycke/awesome-<repo_id>/". | ||
run: > | ||
find ./.github/ -type f -iregex '.*\.\(md\|yaml\)$' -print -exec sed -i | ||
"s/\/kdeldycke\/awesome-template\//\/kdeldycke\/${{ github.event.repository.name }}\//g" "{}" \; | ||
- name: Show diff | ||
run: | | ||
git diff | ||
- uses: peter-evans/[email protected] | ||
with: | ||
token: ${{ secrets.WORKFLOW_UPDATE_GITHUB_PAT || secrets.GITHUB_TOKEN }} | ||
assignees: ${{ github.actor }} | ||
commit-message: "[sync] Updates from `awesome-template`" | ||
title: "[sync] Updates from `awesome-template`" | ||
body: > | ||
<details><summary><code>Workflow metadata</code></summary> | ||
> [Auto-generated on run `#${{ github.run_id }}`](${{ github.event.repository.html_url }}/actions/runs/${{ | ||
github.run_id }}) by `${{ github.job }}` job from [`docs.yaml`](${{ github.event.repository.html_url | ||
}}/blob/${{ github.sha }}/.github/workflows/docs.yaml) workflow. | ||
</details> | ||
branch: ${{ needs.awesome-template-sync.outputs.pr_branch }} | ||
docs: | ||
uses: kdeldycke/workflows/.github/workflows/[email protected] |
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 |
---|---|---|
|
@@ -11,4 +11,4 @@ name: Label sponsors | |
jobs: | ||
|
||
label-sponsors: | ||
uses: kdeldycke/workflows/.github/workflows/[email protected].4 | ||
uses: kdeldycke/workflows/.github/workflows/[email protected].0 |
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 |
---|---|---|
|
@@ -8,4 +8,4 @@ name: Labels | |
jobs: | ||
|
||
labels: | ||
uses: kdeldycke/workflows/.github/workflows/[email protected].4 | ||
uses: kdeldycke/workflows/.github/workflows/[email protected].0 |
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 |
---|---|---|
|
@@ -6,4 +6,4 @@ name: Lint | |
jobs: | ||
|
||
lint: | ||
uses: kdeldycke/workflows/.github/workflows/[email protected].4 | ||
uses: kdeldycke/workflows/.github/workflows/[email protected].0 |