Skip to content

Bump ember-cli-babel from 7.26.11 to 8.2.0 in /ui #1

Bump ember-cli-babel from 7.26.11 to 8.2.0 in /ui

Bump ember-cli-babel from 7.26.11 to 8.2.0 in /ui #1

Workflow file for this run

name: Ensure Verified Commits
on:
pull_request:
types: [opened, synchronize]
workflow_call:
jobs:
verify_commits:
name: Verify Commit Signatures
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check commit signatures
run: |
gh api \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/commits | \
jq '[
# Iterate over all commits
.[] |
# select maintainer commits
select(
.author.login == "JanMa" or
.author.login == "cipherboy" or
.author.login == "DanGhita" or
.author.login == "naphelps" or
.author.login == "DrDaveD"
) |
# select any unsigned commits
select(.commit.verification.verified == false)
] |
# check if there are unsigned commits
if (. | length) != 0 then
# return error
("Pr contains unsigned maintainer commits!\n" | halt_error(1))
else
# return success
"All maintainer commits are signed"
end'
env:
GH_TOKEN: ${{ github.token }}