Skip to content

Commit

Permalink
Added new GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrekjeremicz authored Feb 17, 2025
1 parent 769cc20 commit 4d2f1ef
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# This workflow will build a Swift project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift

name: README.md Generator

on:
push:
branches: [ "main" ]

jobs:
build:

runs-on: macos-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Generate README.md and push changes
run: |
swift Script/on_merge.swift > README.md
git config user.name github-actions
git config user.email [email protected]
git add .
git commit -m "Generated README.md based on new entry"
git push

0 comments on commit 4d2f1ef

Please sign in to comment.