Skip to content

Commit 2281246

Browse files
committed
Comment issue steps for testing
1 parent 745d662 commit 2281246

File tree

1 file changed

+30
-30
lines changed

1 file changed

+30
-30
lines changed

.github/workflows/daily.yml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
# At the end of every day
66
- cron: "0 0 * * *"
77
workflow_dispatch:
8-
pull_request:
8+
# pull_request:
99

1010
env:
1111
RANGE_SIZE: 2
@@ -32,19 +32,19 @@ jobs:
3232
path: ./blocks.txt
3333
key: blocks-list
3434
fail-on-cache-miss: true
35-
- name: Prepare env vars
36-
if: ${{ steps.cache-restore.outputs.cache-hit != 'true' }}
37-
run: |
38-
REPO_URL="${{ github.server_url }}/${{ github.repository }}"
39-
echo "WORKFLOW_URL=$REPO_URL/actions/runs/${{ github.run_id }}" | tee -a $GITHUB_ENV
40-
- name: Create cache related issue
41-
if: ${{ failure() && steps.cache-restore.outcome == 'failure' }}
42-
uses: JasonEtco/create-an-issue@v2
43-
env:
44-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45-
COMMIT_SHA: ${{ github.sha }}
46-
with:
47-
filename: .github/ISSUE_TEMPLATE/daily_cache_failure.md
35+
# - name: Prepare env vars
36+
# if: ${{ steps.cache-restore.outputs.cache-hit != 'true' }}
37+
# run: |
38+
# REPO_URL="${{ github.server_url }}/${{ github.repository }}"
39+
# echo "WORKFLOW_URL=$REPO_URL/actions/runs/${{ github.run_id }}" | tee -a $GITHUB_ENV
40+
# - name: Create cache related issue
41+
# if: ${{ failure() && steps.cache-restore.outcome == 'failure' }}
42+
# uses: JasonEtco/create-an-issue@v2
43+
# env:
44+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45+
# COMMIT_SHA: ${{ github.sha }}
46+
# with:
47+
# filename: .github/ISSUE_TEMPLATE/daily_cache_failure.md
4848

4949
- name: Parse blocks file
5050
id: parse-blocks
@@ -192,19 +192,19 @@ jobs:
192192
name: output-result
193193
path: output
194194

195-
- name: Prepare env vars
196-
if: ${{ always() }}
197-
run: |
198-
# Save workflow url
199-
REPO_URL="${{ github.server_url }}/${{ github.repository }}"
200-
echo "WORKFLOW_URL=$REPO_URL/actions/runs/${{ github.run_id }}" | tee -a $GITHUB_ENV
201-
echo "COMPARISON_RESULT=$REPO_URL/actions/runs/${{ github.run_id }}/artifacts/${{ steps.upload_compare_results.outputs.artifact-id }}" | tee -a $GITHUB_ENV
202-
203-
- name: Create Issue
204-
if: ${{ failure() && steps.comapare-dumps.outcome == 'failure' }}
205-
uses: JasonEtco/create-an-issue@v2
206-
env:
207-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
208-
COMMIT_SHA: ${{ github.sha }}
209-
with:
210-
filename: .github/ISSUE_TEMPLATE/daily_failure.md
195+
# - name: Prepare env vars
196+
# if: ${{ always() }}
197+
# run: |
198+
# # Save workflow url
199+
# REPO_URL="${{ github.server_url }}/${{ github.repository }}"
200+
# echo "WORKFLOW_URL=$REPO_URL/actions/runs/${{ github.run_id }}" | tee -a $GITHUB_ENV
201+
# echo "COMPARISON_RESULT=$REPO_URL/actions/runs/${{ github.run_id }}/artifacts/${{ steps.upload_compare_results.outputs.artifact-id }}" | tee -a $GITHUB_ENV
202+
203+
# - name: Create Issue
204+
# if: ${{ failure() && steps.comapare-dumps.outcome == 'failure' }}
205+
# uses: JasonEtco/create-an-issue@v2
206+
# env:
207+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
208+
# COMMIT_SHA: ${{ github.sha }}
209+
# with:
210+
# filename: .github/ISSUE_TEMPLATE/daily_failure.md

0 commit comments

Comments
 (0)