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 4b0c65e
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/each.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# 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 }}
fetch-depth: 0

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

0 comments on commit 4b0c65e

Please sign in to comment.