Skip to content

Commit

Permalink
add requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
AstrakhantsevaAA committed Sep 26, 2024
1 parent 8e634f9 commit ebfe488
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/run_github_issues_merge_workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Run github_issues_merge pipeline from github_pipeline.py
'on':
schedule:
- cron: '*/30 * * * *'
workflow_dispatch: null
env: {}
jobs:
maybe_skip:
runs-on: ubuntu-latest
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@v5
with:
concurrent_skipping: always
skip_after_successful_duplicate: 'false'
do_not_skip: '[]'
run_pipeline:
needs: maybe_skip
if: needs.maybe_skip.outputs.should_skip != 'true'
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.10.x
- uses: syphar/restore-virtualenv@v1
id: cache-virtualenv
with:
requirement_files: requirements_github_action.txt
- uses: syphar/restore-pip-download-cache@v1
if: steps.cache-virtualenv.outputs.cache-hit != 'true'
- run: pip install -r requirements_github_action.txt
if: steps.cache-virtualenv.outputs.cache-hit != 'true'
- name: Run pipeline script
run: cd 'workshops/workshop_september_2024/part2/deployment/github_actions'
&& python 'github_pipeline.py'

0 comments on commit ebfe488

Please sign in to comment.