-
-
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.
- Loading branch information
1 parent
a185eed
commit 3c83af4
Showing
3 changed files
with
66 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Cleanup old branches | ||
on: | ||
push: | ||
branches: | ||
- master | ||
- develop | ||
jobs: | ||
housekeeping: | ||
name: Cleanup old branches | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Run delete-old-branches-action | ||
uses: beatlabs/[email protected] | ||
with: | ||
repo_token: ${{ github.token }} | ||
date: '3 months ago' | ||
dry_run: true | ||
delete_tags: true | ||
minimum_tags: 5 | ||
extra_protected_branch_regex: ^(foo|bar)$ | ||
extra_protected_tag_regex: '^v.*' | ||
exclude_open_pr_branches: true |
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,24 @@ | ||
ssh -i ~/.ssh/rd_rsa | ||
|
||
TEST="HELLO WORLD" | ||
echo $TEST | ||
|
||
$TEST > [file name] | ||
|
||
cat [file name] | ||
|
||
rm ~/.ssh/known_hosts | ||
|
||
cat ~/.ssh/known_hosts | ||
|
||
Wb3rvTirMomt2wdf8Dun | ||
|
||
ssh-keygen -t rsa -b 4096 -C "[email protected]" | ||
ssh-keygen -t ed25519 -a 200 -C "[email protected]" | ||
cat .ssh/id_rsa.pub | ssh [email protected] 'cat >> .ssh/authorized_keys' | ||
cat .ssh/id_ed25519.pub | ssh [email protected] 'cat >> .ssh/authorized_keys' | ||
|
||
sudo apt update | ||
sudo apt install git | ||
|
||
ssh -i ~/.ssh/id_ed25519 [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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: status Badge | ||
|
||
on: | ||
# push: | ||
# branches: [main] | ||
pull_request_target: | ||
branches: [main] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
pull-requests: write | ||
steps: | ||
- uses: mshick/add-pr-comment@v2 | ||
with: | ||
message: | | ||
'[](https://github.com/dogdb-org/dogdb-frontend/actions/workflows/preview.yaml) [DogDB - ${{github.ref_name}} link](https://preview.dogdb.org/${{secrets.DOGDB_PREVIEW_FRONTEND_FOLDER_NAME}}/${{secrets.DOGDB_PREVIEW_FRONTEND_FOLDER_NAME}}-${{ github.ref_name }}/out)' |