Skip to content

Commit

Permalink
ci: Add workflow to check each commit
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Jan 2, 2025
1 parent 12f0694 commit 5368544
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/each.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Helper workflow to trigger rcc for each commit on a branch

on:
push:
branches:
- each-*

name: rcc

jobs:
rcc-smoke:
runs-on: ubuntu-24.04
outputs:
sha: ${{ steps.commit.outputs.sha }}
versions-matrix: ${{ steps.versions-matrix.outputs.matrix }}
dep-suggests-matrix: ${{ steps.dep-suggests-matrix.outputs.matrix }}

name: "Trigger rcc workflow for each commit"

# Begin custom: services
# End custom: services

steps:
- uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}
depth: 0

- name: Enumerate all commits from the repository's main branch
run: |
commits=$(git log --pretty=format:"%H" refs/remotes/origin/HEAD..HEAD)
echo $commits
shell: bash

0 comments on commit 5368544

Please sign in to comment.