Github Actions 4 years ago
parent
commit
d8e44da3a2
  1. 8
      .github/workflows/DINAR-PORT.yml

8
.github/workflows/DINAR-PORT.yml

@ -46,6 +46,10 @@ jobs:
run: run:
echo "PY=$(python --version --version | sha256sum | cut -d' ' -f1)" >> echo "PY=$(python --version --version | sha256sum | cut -d' ' -f1)" >>
$GITHUB_ENV $GITHUB_ENV
- name: Analyze request
run: |
# sets environment variables that available in next steps via $ {{ env.PORT_... }} notation
python DINAR/workflow-files/analyze_port_trigger.py "${{ github.event.issue.title }}"
- name: Checkout Repo - name: Checkout Repo
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:
@ -56,10 +60,6 @@ jobs:
with: with:
path: ~/.cache/pre-commit path: ~/.cache/pre-commit
key: pre-commit|${{ env.PY }}|${{ hashFiles('REPO/.pre-commit-config.yaml') }} key: pre-commit|${{ env.PY }}|${{ hashFiles('REPO/.pre-commit-config.yaml') }}
- name: Analyze request
run: |
# sets environment variables that available in next steps via $ {{ env.PORT_... }} notation
python DINAR/workflow-files/analyze_port_trigger.py "${{ github.event.issue.title }}"
- name: Copy module to new branch - name: Copy module to new branch
run: | run: |
git config --global user.email "itpp-bot@users.noreply.github.com" git config --global user.email "itpp-bot@users.noreply.github.com"

Loading…
Cancel
Save