Github Actions 4 years ago
parent
commit
69c86c9a56
  1. 4
      .github/workflows/DINAR-PORT.yml
  2. 1
      .pre-commit-config.yaml

4
.github/workflows/DINAR-PORT.yml

@ -47,9 +47,11 @@ jobs:
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 - name: Analyze request
env:
TITLE: ${{ github.event.issue.title }}
run: | run: |
# sets environment variables that available in next steps via $ {{ env.PORT_... }} notation # sets environment variables that available in next steps via $ {{ env.PORT_... }} notation
python DINAR/workflow-files/analyze_port_trigger.py "${{ github.event.issue.title }}"
python DINAR/workflow-files/analyze_port_trigger.py "$TITLE"
- name: Checkout Repo - name: Checkout Repo
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:

1
.pre-commit-config.yaml

@ -78,6 +78,7 @@ repos:
rev: v1.26.2 rev: v1.26.2
hooks: hooks:
- id: pyupgrade - id: pyupgrade
args: ["--keep-percent-format"]
- repo: https://github.com/acsone/setuptools-odoo - repo: https://github.com/acsone/setuptools-odoo
rev: 2.6.0 rev: 2.6.0
hooks: hooks:

Loading…
Cancel
Save