Skip to content

Commit

Permalink
enable test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lukepistrol committed May 17, 2024
1 parent fc2485e commit 466da66
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/update-swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
schedule:
- cron: '0 0 * * 1' # Runs every Monday at midnight
workflow_dispatch:
pull_request:

jobs:
update-swiftlint:
Expand Down Expand Up @@ -40,10 +41,10 @@ jobs:
- name: Commit changes
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add Package.swift
git commit -m "Update SwiftLint to ${{ steps.swiftlint_release.outputs.latest_release }}"
git push
# git config --global user.name 'github-actions[bot]'
# git config --global user.email 'github-actions[bot]@users.noreply.github.com'
# git add Package.swift
# git commit -m "Update SwiftLint to ${{ steps.swiftlint_release.outputs.latest_release }}"
# git push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 466da66

Please sign in to comment.