Compare commits
4 Commits
main
...
f5a6270e41
| Author | SHA1 | Date | |
|---|---|---|---|
| f5a6270e41 | |||
|
|
59668b6857 | ||
|
|
515b8735ae | ||
| f7ca32cb4a |
15
.gitea/workflows/hello.yamlx
Normal file
15
.gitea/workflows/hello.yamlx
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
name: Hello world
|
||||||
|
|
||||||
|
on:
|
||||||
|
- push
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
say-hello:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Print hello
|
||||||
|
run: echo "Hello, world! from Gitea Actions"
|
||||||
|
|
||||||
@@ -52,7 +52,7 @@ jobs:
|
|||||||
|| github.ref == 'refs/heads/main'
|
|| github.ref == 'refs/heads/main'
|
||||||
steps:
|
steps:
|
||||||
- name: Setup SSH
|
- name: Setup SSH
|
||||||
uses: webfactory/ssh-agent@a6f90b1f127823b31d4d4a8d96047790581349bd # v0.9.1
|
uses: webfactory/ssh-agent@v0.9.0
|
||||||
with:
|
with:
|
||||||
ssh-private-key: ${{ env.SSH_PRIVATE_KEY }}
|
ssh-private-key: ${{ env.SSH_PRIVATE_KEY }}
|
||||||
|
|
||||||
@@ -77,8 +77,7 @@ jobs:
|
|||||||
(github.event_name == 'pull_request' && github.event.action != 'closed' && github.event.pull_request.merged == false)
|
(github.event_name == 'pull_request' && github.event.action != 'closed' && github.event.pull_request.merged == false)
|
||||||
|| github.ref == 'refs/heads/main'
|
|| github.ref == 'refs/heads/main'
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- uses: actions/checkout@v4
|
||||||
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
|
|
||||||
|
|
||||||
- name: Sync files via scp
|
- name: Sync files via scp
|
||||||
uses: appleboy/scp-action@master
|
uses: appleboy/scp-action@master
|
||||||
@@ -99,7 +98,7 @@ jobs:
|
|||||||
|| github.ref == 'refs/heads/main'
|
|| github.ref == 'refs/heads/main'
|
||||||
steps:
|
steps:
|
||||||
- name: Setup SSH
|
- name: Setup SSH
|
||||||
uses: webfactory/ssh-agent@a6f90b1f127823b31d4d4a8d96047790581349bd # v0.9.1
|
uses: webfactory/ssh-agent@v0.9.0
|
||||||
with:
|
with:
|
||||||
ssh-private-key: ${{ env.SSH_PRIVATE_KEY }}
|
ssh-private-key: ${{ env.SSH_PRIVATE_KEY }}
|
||||||
|
|
||||||
@@ -125,7 +124,7 @@ jobs:
|
|||||||
(github.event.action == 'closed' || github.event.pull_request.merged == true)
|
(github.event.action == 'closed' || github.event.pull_request.merged == true)
|
||||||
steps:
|
steps:
|
||||||
- name: Setup SSH
|
- name: Setup SSH
|
||||||
uses: webfactory/ssh-agent@a6f90b1f127823b31d4d4a8d96047790581349bd # v0.9.1
|
uses: webfactory/ssh-agent@v0.9.0
|
||||||
with:
|
with:
|
||||||
ssh-private-key: ${{ env.SSH_PRIVATE_KEY }}
|
ssh-private-key: ${{ env.SSH_PRIVATE_KEY }}
|
||||||
|
|
||||||
|
|||||||
@@ -3,13 +3,9 @@
|
|||||||
"extends": [
|
"extends": [
|
||||||
"config:recommended"
|
"config:recommended"
|
||||||
],
|
],
|
||||||
// "packageRules": [
|
"packageRules": [{
|
||||||
// {
|
"docker": {
|
||||||
// "matchCategories": [
|
"pinDigests": true
|
||||||
// "docker"
|
}
|
||||||
// ],
|
}]
|
||||||
// "pinDigests": true
|
|
||||||
// }
|
|
||||||
// ],
|
|
||||||
"pinDigests": true
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user