Skip to content

Add French course materials #1

Add French course materials

Add French course materials #1

name: 2-commit-a-file
on:
workflow_dispatch:
push:
permissions:
contents: write
jobs:
when_playground_changed:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with: { fetch-depth: 2 }
- name: Filtre, le fichier playground a-t-il changé
id: changed
run: |
set -e
git diff --name-only HEAD~1 HEAD | grep -E '^playground/README.md$'
- name: Mettre à jour le README, Étape 2, commit d’un fichier
if: steps.changed.outcome == 'success'
uses: skills/action-update-step@v2
with:
path: .github/steps/2-commit-a-file.md