Skip to content

Commit 291b8c8

Browse files
authored
Initial commit
0 parents  commit 291b8c8

22 files changed

+2756
-0
lines changed
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: first-time-setup
2+
run-name: Setup
3+
4+
on:
5+
push:
6+
branches: [ main ]
7+
8+
# Only keep latest run of this workflow
9+
concurrency:
10+
group: first-time-setup
11+
cancel-in-progress: true
12+
13+
permissions:
14+
actions: write
15+
checks: write
16+
contents: write
17+
18+
jobs:
19+
first-time-setup:
20+
# Ensure this action is run only on the creation of the repository
21+
if: github.event.created == true
22+
runs-on: ubuntu-latest
23+
24+
steps:
25+
- name: Checkout code
26+
uses: actions/checkout@v4
27+
with:
28+
token: ${{ secrets.GITHUB_TOKEN }}
29+
30+
- name: Remove first time setup workflow
31+
run: rm -f .github/workflows/first-time-setup.yml
32+
33+
- name: Remove snapshots folders
34+
run: rm -r */
35+
36+
- name: Update README
37+
run: |
38+
REPOSITORY_NAME=${{ github.event.repository.name }}
39+
COLLECTION_NAME="${REPOSITORY_NAME//-snapshots}"
40+
sed -i "s|# Demo snapshots|# $COLLECTION_NAME snapshots|g" README.md
41+
42+
- name: Commit changes
43+
uses: stefanzweifel/git-auto-commit-action@v4
44+
with:
45+
commit_message: "Adapt template automatically"
46+
env:
47+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Brevo/Privacy Policy.html

Lines changed: 125 additions & 0 deletions
Large diffs are not rendered by default.

Buffer/Copyright Claims Policy.html

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

Buffer/Developer Terms.html

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

Buffer/Privacy Policy.html

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

Buffer/Terms of Service.html

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

GitHub/Copyright Claims Policy.html

Lines changed: 86 additions & 0 deletions
Large diffs are not rendered by default.

GitHub/Privacy Policy.html

Lines changed: 249 additions & 0 deletions
Large diffs are not rendered by default.

GitHub/Terms of Service.html

Lines changed: 283 additions & 0 deletions
Large diffs are not rendered by default.

LICENSE

Lines changed: 428 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)