Skip to content

Commit

Permalink
Update awx.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dmzoneill authored Mar 7, 2024
1 parent f198533 commit 470d3f1
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions .github/workflows/awx.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
name: Hourly Workflow
# name: Hourly Workflow

on:
schedule:
- cron: '0 0 * * *'
push:
branches:
- main
# on:
# schedule:
# - cron: '0 0 * * *'
# push:
# branches:
# - main

jobs:
awx-pr-to-draft:
runs-on: ubuntu-latest
# jobs:
# awx-pr-to-draft:
# runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v4
# steps:
# - name: Checkout Repository
# uses: actions/checkout@v4

- name: Set up GitHub CLI
uses: sersoft-gmbh/setup-gh-cli-action@v2
with:
version: stable
# - name: Set up GitHub CLI
# uses: sersoft-gmbh/setup-gh-cli-action@v2
# with:
# version: stable

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.12
# - name: Set up Python
# uses: actions/setup-python@v4
# with:
# python-version: 3.12

- name: Run awx draft script
shell: bash
run: |
set -x
python3 ./awxdraft.py
continue-on-error: true
env:
GH_TOKEN: ${{ secrets.AWX_TOKEN }}
# - name: Run awx draft script
# shell: bash
# run: |
# set -x
# python3 ./awxdraft.py
# continue-on-error: true
# env:
# GH_TOKEN: ${{ secrets.AWX_TOKEN }}

0 comments on commit 470d3f1

Please sign in to comment.