Skip to content

Commit

Permalink
Format github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
kddejong committed Aug 21, 2024
1 parent 8a5f737 commit 875182f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/maintenance-v1.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
name: Automated Maintenance v1
on:
schedule:
- cron: '0 0,6,12,18 * * *'
- cron: "0 0,6,12,18 * * *"
workflow_dispatch: # Enables on-demand/manual triggering: https://docs.github.com/en/free-pro-team@latest/actions/managing-workflow-runs/manually-running-a-workflow
jobs:
job:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: 'main'
ref: "main"
- uses: actions/setup-python@v5
with:
python-version: 3
-
id: maintenance
- id: maintenance
run: |
latest_sam_cli=`curl -s https://api.github.com/repos/aws/aws-sam-cli/releases/latest | jq -r .tag_name | cut -c 2-`
latest=`curl "https://pypi.org/pypi/aws-sam-cli/$latest_sam_cli/json" -s | jq -r '.info.requires_dist[] | select(contains("aws-sam-translator"))' | cut -c 21-`
Expand Down

0 comments on commit 875182f

Please sign in to comment.