File tree Expand file tree Collapse file tree 2 files changed +17
-11
lines changed
Expand file tree Collapse file tree 2 files changed +17
-11
lines changed Original file line number Diff line number Diff line change @@ -16,22 +16,26 @@ The following example workflow step will create an issue in a GitHub repository
1616 use_browser: false
1717 filters:
1818 - html2text
19+ - between:
20+ start: "#### __WebAppInitData"
21+ end: "#### __Events Available for Mini Apps"
1922 config : |
2023 report:
2124 tz: UTC
2225 github_issue:
2326 enabled: true
24- owner: ' ${{ github.repository_owner }}'
25- repo: ' ${{ github.event.repository.name }}'
26- token: ' ${{ secrets.GITHUB_TOKEN }}'
27- format_dt: ' %Y-%m-%d'
28- title: ' Telegram Mini App documentation update {dt}'
27+ owner: " ${{ github.repository_owner }}"
28+ repo: " ${{ github.event.repository.name }}"
29+ token: " ${{ secrets.GITHUB_TOKEN }}"
30+ format_dt: " %Y-%m-%d"
31+ title: " Telegram Mini App documentation update: {dt}"
2932 assignees:
30- - ' swimmwatch'
33+ - " swimmwatch"
3134 format_content: |
32- ```text
35+ ```diff
3336 {content}
3437 ```
38+
3539` ` `
3640
3741## Options
Original file line number Diff line number Diff line change @@ -23,20 +23,22 @@ runs:
2323 echo "JOBS_PATH=${{ github.workspace }}/jobs.yaml" >> $GITHUB_ENV
2424 echo "SNAPSHOTS_DB=${{ github.workspace }}/snapshots.db" >> $GITHUB_ENV
2525 echo "HOOKS_PATH=${{ github.action_path }}/hooks.py" >> $GITHUB_ENV
26+ echo "WEBCHANGES_VERSION=3.30.0" >> $GITHUB_ENV
27+ echo "PYTHON_VERSION=3.10" >> $GITHUB_ENV
2628 - name : " Write configs to files"
2729 shell : bash
2830 run : |
29- echo " ${{ inputs.config }}" > $CONFIG_PATH
30- echo " ${{ inputs.jobs }}" > $JOBS_PATH
31+ echo ' ${{ inputs.config }}' > $CONFIG_PATH
32+ echo ' ${{ inputs.jobs }}' > $JOBS_PATH
3133 - name : " Setup Python"
3234 uses : actions/setup-python@v5
3335 with :
34- python-version : " 3.x "
36+ python-version : ${{ env.PYTHON_VERSION }}
3537 cache : " pip"
3638 - name : " Install webchanges package"
3739 shell : bash
3840 run : |
39- pip install webchanges
41+ pip install webchanges==${{ env.WEBCHANGES_VERSION }}
4042 - name : " Compute SHA-256 of configs input"
4143 shell : bash
4244 run : |
You can’t perform that action at this time.
0 commit comments