Compare commits

..

No commits in common. "4a6ba85539555573a8899b70f8010f10b0bd850b" and "9a13ec113421f1e941f32bcd523e6f55113c9609" have entirely different histories.

2 changed files with 22 additions and 28 deletions

View File

@ -6,6 +6,8 @@ on:
env:
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:
"Build Image":
@ -30,33 +32,18 @@ jobs:
provenance: false
"Notify":
runs-on: ubuntu-docker-latest
if: always()
needs: ["Build Image", "Test Image", "Push Image"]
if: ${{ always() }}
needs: ["Build Image"]
steps:
- name: Success
uses: rjstone/discord-webhook-notify@v1
if: success()
- name: Notify of outcome
uses: appleboy/discord-action@master
if: always()
env:
DISCORD_COLOR: "${{ job.status == 'success' && '#48f442' || '#f44336' }}"
DISCORD_MESSAGE: "${{ gitea.job }} on ${{ gitea.repository }} has ${{ job.status == 'success' && 'succeeded' || 'failed.' }}"
with:
severity: info
details: Build succeeded!
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}
username: Gitea
avatarUrl: ${{ vars.RUNNER_ICON_URL }}
- 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 }}
webhook_id: ${{ secrets.WEBHOOK_ID }}
webhook_token: ${{ secrets.WEBHOOK_TOKEN }}
color: ${{ env.DISCORD_COLOR }}
username: "Gitea Bot"
message: ${{ env.DISCORD_MESSAGE }}

7
renovate.json Normal file
View File

@ -0,0 +1,7 @@
{
"extends": [":automergeMinor", ":automergePr", ":automergeRequireAllStatusChecks", ":dependencyDashboard", ":disableRateLimiting", ":rebaseStalePrs"],
"baseBranches": ["develop"],
"major": {
"dependencyDashboardApproval": true
}
}