Skip to content

Commit

Permalink
feat: [#30] sign git-queue commits
Browse files Browse the repository at this point in the history
  • Loading branch information
josecelano committed Mar 4, 2022
1 parent c6f8d6d commit 4f33b9f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/work-allocator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
with:
queue_name: "library-update"
action: "next-job"
git_commit_gpg_sign: "true"

- name: Update submodule to get new commit ref
id: update-submodule
Expand Down Expand Up @@ -93,6 +94,7 @@ jobs:
queue_name: "library-update"
action: "create-job"
job_payload: "${{ steps.build-payload.outputs.payload }}"
git_commit_gpg_sign: "true"

- name: Show new git-queue commit
if: ${{ steps.get-next-job.outputs.job_found == 'false' && steps.update-submodule.outputs.updated == 'true' && steps.create-job.outputs.job_created == 'true' }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/worker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
with:
queue_name: "library-update"
action: "next-job"
git_commit_gpg_sign: "true"

- name: Parse job payload
id: parse-payload
Expand Down Expand Up @@ -73,6 +74,7 @@ jobs:
queue_name: "library-update"
action: "start-job"
job_payload: ${{ steps.build-start-payload.outputs.payload }}
git_commit_gpg_sign: "true"

# Begin mutual exclusion job

Expand Down Expand Up @@ -185,6 +187,7 @@ jobs:
queue_name: "library-update"
action: "finish-job"
job_payload: ${{ steps.build-finish-payload.outputs.payload }}
git_commit_gpg_sign: "true"

- name: Debug step outputs
if: ${{ steps.get-next-job.outputs.job_found == 'true' }}
Expand Down

0 comments on commit 4f33b9f

Please sign in to comment.