Compare commits
1 Commits
8ff87434fd
...
b5fc249919
| Author | SHA1 | Date | |
|---|---|---|---|
|
b5fc249919
|
@@ -67,53 +67,73 @@ jobs:
|
|||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|
||||||
- name: Create Pull Request
|
# - name: Create Pull Request
|
||||||
|
# id: pull-request
|
||||||
|
# uses: peter-evans/create-pull-request@v7
|
||||||
|
# with:
|
||||||
|
# token: ${{ secrets.PERSONAL_TOKEN }}
|
||||||
|
# committer: gitea-bot <gitea-bot@alexlebens.net>
|
||||||
|
# author: gitea-bot <gitea-bot@alexlebens.net>
|
||||||
|
# commit-message: "chore: Update manifests after chart change"
|
||||||
|
# branch: auto/update-manifests
|
||||||
|
# branch-suffix: timestamp
|
||||||
|
# base: manifests
|
||||||
|
# title: "Manifest Update: App Changes"
|
||||||
|
# body: |
|
||||||
|
# This PR contains the newly rendered Kubernetes manifests.
|
||||||
|
|
||||||
|
# * Triggered by workflow run ${{ github.run_id }}
|
||||||
|
# * Review the `files changed` tab for the full YAML diff.
|
||||||
|
# labels: |
|
||||||
|
# manifests
|
||||||
|
# automated
|
||||||
|
# add-paths: |
|
||||||
|
# clusters/cl01tl/manifests/*
|
||||||
|
|
||||||
|
- name: Create Gitea PR
|
||||||
id: pull-request
|
id: pull-request
|
||||||
uses: peter-evans/create-pull-request@v7
|
uses: infinilabs/gitea-pr@v0
|
||||||
with:
|
with:
|
||||||
|
url: ${{ secrets.REPO_URL }}
|
||||||
token: ${{ secrets.BOT_TOKEN }}
|
token: ${{ secrets.BOT_TOKEN }}
|
||||||
add-paths: |
|
|
||||||
clusters/cl01tl/manifests/*
|
|
||||||
commit-message: "chore: Update manifests after chart change"
|
commit-message: "chore: Update manifests after chart change"
|
||||||
committer: gitea-bot <gitea-bot@alexlebens.net>
|
committer: "gitea-bot <gitea-bot@alexlebens.net>"
|
||||||
author: gitea-bot <gitea-bot@alexlebens.net>
|
author: "gitea-bot <gitea-bot@alexlebens.net>"
|
||||||
branch: auto/update-manifests
|
base: "manifests"
|
||||||
branch-suffix: timestamp
|
branch: "auto/update-manifests"
|
||||||
base: manifests
|
title: "Manifest Update: App Changes"
|
||||||
title: "Manifest Update"
|
|
||||||
body: |
|
body: |
|
||||||
This PR contains the newly rendered Kubernetes manifests.
|
This PR contains the newly rendered Kubernetes manifests.
|
||||||
|
|
||||||
* Triggered by workflow run ${{ github.run_id }}
|
* Triggered by workflow run ${{ github.run_id }}
|
||||||
* Review the `files changed` tab for the full YAML diff.
|
* Review the `files changed` tab for the full YAML diff.
|
||||||
labels: |
|
pr-label: "manifests, automated"
|
||||||
manifests
|
assignee: "alexlebens"
|
||||||
automated
|
|
||||||
|
|
||||||
# - name: ntfy Created
|
- name: ntfy Created
|
||||||
# uses: niniyas/ntfy-action@master
|
uses: niniyas/ntfy-action@master
|
||||||
# if: steps.pull-request.outputs.pull-request-operation == 'created'
|
if: steps.pull-request.outputs.pull-request-operation == 'created'
|
||||||
# with:
|
with:
|
||||||
# url: "${{ secrets.NTFY_URL }}"
|
url: "${{ secrets.NTFY_URL }}"
|
||||||
# topic: "${{ secrets.NTFY_TOPIC }}"
|
topic: "${{ secrets.NTFY_TOPIC }}"
|
||||||
# title: "Manifest Render PR Created - Infrastructure"
|
title: "Manifest Render PR Created - Infrastructure"
|
||||||
# priority: 3
|
priority: 3
|
||||||
# headers: '{"Authorization": "Bearer ${{ secrets.NTFY_CRED }}"}'
|
headers: '{"Authorization": "Bearer ${{ secrets.NTFY_CRED }}"}'
|
||||||
# tags: action,successfully,completed
|
tags: action,successfully,completed
|
||||||
# details: "Manifest rendering for Infrastructure has created PR ${{ steps.pull-request.outputs.pull-request-number }}!"
|
details: "Manifest rendering for Infrastructure has created PR ${{ steps.pull-request.outputs.pull-request-number }}!"
|
||||||
# icon: "https://cdn.jsdelivr.net/gh/selfhst/icons/png/gitea.png"
|
icon: "https://cdn.jsdelivr.net/gh/selfhst/icons/png/gitea.png"
|
||||||
|
|
||||||
# - name: ntfy Failed
|
- name: ntfy Failed
|
||||||
# uses: niniyas/ntfy-action@master
|
uses: niniyas/ntfy-action@master
|
||||||
# if: failure()
|
if: failure()
|
||||||
# with:
|
with:
|
||||||
# url: "${{ secrets.NTFY_URL }}"
|
url: "${{ secrets.NTFY_URL }}"
|
||||||
# topic: "${{ secrets.NTFY_TOPIC }}"
|
topic: "${{ secrets.NTFY_TOPIC }}"
|
||||||
# title: "Manifest Render Failure - Infrastructure"
|
title: "Manifest Render Failure - Infrastructure"
|
||||||
# priority: 4
|
priority: 4
|
||||||
# headers: '{"Authorization": "Bearer ${{ secrets.NTFY_CRED }}"}'
|
headers: '{"Authorization": "Bearer ${{ secrets.NTFY_CRED }}"}'
|
||||||
# tags: action,failed
|
tags: action,failed
|
||||||
# details: "Manifest rendering for Infrastructure has failed!"
|
details: "Manifest rendering for Infrastructure has failed!"
|
||||||
# icon: "https://cdn.jsdelivr.net/gh/selfhst/icons/png/gitea.png"
|
icon: "https://cdn.jsdelivr.net/gh/selfhst/icons/png/gitea.png"
|
||||||
# actions: '[{"action": "view", "label": "Open Gitea", "url": "https://gitea.alexlebens.dev/alexlebens/infrastructure/actions?workflow=render-manifests.yaml", "clear": true}]'
|
actions: '[{"action": "view", "label": "Open Gitea", "url": "https://gitea.alexlebens.dev/alexlebens/infrastructure/actions?workflow=render-manifests.yaml", "clear": true}]'
|
||||||
# image: true
|
image: true
|
||||||
|
|||||||
Reference in New Issue
Block a user