выделил константу MAX_YEAR_BY_1C 3999 #259
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pre-QA | |
on: | |
push: | |
branches-ignore: | |
- "translations_*" | |
pull_request: | |
jobs: | |
gatekeeper: | |
runs-on: ubuntu-latest | |
if: github.event_name == 'pull_request' && startsWith(github.head_ref, 'translations_') == false || github.event_name == 'push' | |
steps: | |
- run: echo 'Open the Golden Gate' | |
build: | |
needs: gatekeeper | |
runs-on: ubuntu-latest | |
steps: | |
- name: Save PR number to file | |
if: github.event_name == 'pull_request' | |
run: echo ${{ github.event.number }} > PR_NUMBER.txt | |
- name: Archive PR number | |
if: github.event_name == 'pull_request' | |
uses: actions/upload-artifact@v3 | |
with: | |
name: PR_NUMBER | |
path: PR_NUMBER.txt |