Skip to content

Commit

Permalink
Call a sub-action for typescript goodies
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamc committed May 6, 2024
1 parent 1752965 commit 8fbd3d1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/actions/update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
name: "Nix Flake Lock"
runs:
using: node20
main: dist/index.js
9 changes: 6 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,12 @@ runs:
echo "GIT_COMMITTER_NAME=${{ inputs.git-committer-name }}" >> $GITHUB_ENV
echo "GIT_COMMITTER_EMAIL=<${{ inputs.git-committer-email }}>" >> $GITHUB_ENV
- name: Run update-flake-lock.sh
runs:
using: node20
main: dist/index.js
uses: ./.github/actions/update.yml
with:
commit-msg: ${{ inputs.commit-msg }}
inputs: ${{ inputs.inputs }}
nix-options: ${{ inputs.nix-options }}
path-to-flake-dir: ${{ inputs.path-to-flake-dir }}
- name: Save PR Body as file
uses: DamianReeves/[email protected]
with:
Expand Down

0 comments on commit 8fbd3d1

Please sign in to comment.