feature/artifact-update #108
7
.github/workflows/flake-update.yml
vendored
7
.github/workflows/flake-update.yml
vendored
@ -85,9 +85,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
files: "pr_body.template"
|
files: "pr_body.template"
|
||||||
output-filename: "pr_body.md"
|
output-filename: "pr_body.md"
|
||||||
- name: template diff into PR body
|
|
||||||
run: |
|
|
||||||
nix utils/inject-diff.py
|
|
||||||
- name: Save PR body
|
- name: Save PR body
|
||||||
id: pr_body
|
id: pr_body
|
||||||
uses: juliangruber/read-file-action@v1
|
uses: juliangruber/read-file-action@v1
|
||||||
@ -96,7 +93,6 @@ jobs:
|
|||||||
- name: Remove temporary files
|
- name: Remove temporary files
|
||||||
run: |
|
run: |
|
||||||
rm pr_body.template
|
rm pr_body.template
|
||||||
rm pr_body.md
|
|
||||||
rm pre.json
|
rm pre.json
|
||||||
rm post.json
|
rm post.json
|
||||||
rm post-diff
|
rm post-diff
|
||||||
@ -106,7 +102,8 @@ jobs:
|
|||||||
uses: https://nayeonie.com/ahuston-0/create-pull-request@main
|
uses: https://nayeonie.com/ahuston-0/create-pull-request@main
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
|
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
|
||||||
body: ${{ steps.pr_body.outputs.content }}
|
add-paths: flake.lock
|
||||||
|
body-path: pr_body.md
|
||||||
author: '"github-actions[bot]" <github-actions[bot]@users.noreply.github.com>'
|
author: '"github-actions[bot]" <github-actions[bot]@users.noreply.github.com>'
|
||||||
title: 'automated: Update `flake.lock`'
|
title: 'automated: Update `flake.lock`'
|
||||||
commit-message: |
|
commit-message: |
|
||||||
|
Reference in New Issue
Block a user