Compare commits
No commits in common. "4a6ba85539555573a8899b70f8010f10b0bd850b" and "9a13ec113421f1e941f32bcd523e6f55113c9609" have entirely different histories.
4a6ba85539
...
9a13ec1134
@ -6,6 +6,8 @@ on:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
FULL_TAG: git.mrmeeb.stream/mrmeeb/gitea-act-runner:develop
|
FULL_TAG: git.mrmeeb.stream/mrmeeb/gitea-act-runner:develop
|
||||||
|
DISCORD_COLOUR: ${{ job.status == success && '#48f442' || '#f44336' }}
|
||||||
|
DISCORD_STATE: ${{ job.status == success && 'succeeded' || 'failed' }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
"Build Image":
|
"Build Image":
|
||||||
@ -30,33 +32,18 @@ jobs:
|
|||||||
provenance: false
|
provenance: false
|
||||||
"Notify":
|
"Notify":
|
||||||
runs-on: ubuntu-docker-latest
|
runs-on: ubuntu-docker-latest
|
||||||
if: always()
|
if: ${{ always() }}
|
||||||
needs: ["Build Image", "Test Image", "Push Image"]
|
needs: ["Build Image"]
|
||||||
steps:
|
steps:
|
||||||
- name: Success
|
- name: Notify of outcome
|
||||||
uses: rjstone/discord-webhook-notify@v1
|
uses: appleboy/discord-action@master
|
||||||
if: success()
|
if: always()
|
||||||
|
env:
|
||||||
|
DISCORD_COLOR: "${{ job.status == 'success' && '#48f442' || '#f44336' }}"
|
||||||
|
DISCORD_MESSAGE: "${{ gitea.job }} on ${{ gitea.repository }} has ${{ job.status == 'success' && 'succeeded' || 'failed.' }}"
|
||||||
with:
|
with:
|
||||||
severity: info
|
webhook_id: ${{ secrets.WEBHOOK_ID }}
|
||||||
details: Build succeeded!
|
webhook_token: ${{ secrets.WEBHOOK_TOKEN }}
|
||||||
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}
|
color: ${{ env.DISCORD_COLOR }}
|
||||||
username: Gitea
|
username: "Gitea Bot"
|
||||||
avatarUrl: ${{ vars.RUNNER_ICON_URL }}
|
message: ${{ env.DISCORD_MESSAGE }}
|
||||||
- name: Failure
|
|
||||||
uses: rjstone/discord-webhook-notify@v1
|
|
||||||
if: failure()
|
|
||||||
with:
|
|
||||||
severity: error
|
|
||||||
details: Build failed!
|
|
||||||
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}
|
|
||||||
username: Gitea
|
|
||||||
avatarUrl: ${{ vars.RUNNER_ICON_URL }}
|
|
||||||
- name: Cancelled
|
|
||||||
uses: rjstone/discord-webhook-notify@v1
|
|
||||||
if: cancelled()
|
|
||||||
with:
|
|
||||||
severity: warn
|
|
||||||
details: Build cancelled!
|
|
||||||
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}
|
|
||||||
username: Gitea
|
|
||||||
avatarUrl: ${{ vars.RUNNER_ICON_URL }}
|
|
7
renovate.json
Normal file
7
renovate.json
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"extends": [":automergeMinor", ":automergePr", ":automergeRequireAllStatusChecks", ":dependencyDashboard", ":disableRateLimiting", ":rebaseStalePrs"],
|
||||||
|
"baseBranches": ["develop"],
|
||||||
|
"major": {
|
||||||
|
"dependencyDashboardApproval": true
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user