|
1 |
| -# This workflow will build and push a node.js application to an Azure Web App when a commit is pushed to your default branch. |
2 |
| -# |
3 |
| -# This workflow assumes you have already created the target Azure App Service web app. |
4 |
| -# For instructions see https://docs.microsoft.com/en-us/azure/app-service/quickstart-nodejs?tabs=linux&pivots=development-environment-cli |
5 |
| -# |
6 |
| -# To configure this workflow: |
7 |
| -# |
8 |
| -# 1. Download the Publish Profile for your Azure Web App. You can download this file from the Overview page of your Web App in the Azure Portal. |
9 |
| -# For more information: https://docs.microsoft.com/en-us/azure/app-service/deploy-github-actions?tabs=applevel#generate-deployment-credentials |
10 |
| -# |
11 |
| -# 2. Create a secret in your repository named AZURE_WEBAPP_PUBLISH_PROFILE, paste the publish profile contents as the value of the secret. |
12 |
| -# For instructions on obtaining the publish profile see: https://docs.microsoft.com/azure/app-service/deploy-github-actions#configure-the-github-secret |
13 |
| -# |
14 |
| -# 3. Change the value for the AZURE_WEBAPP_NAME. Optionally, change the AZURE_WEBAPP_PACKAGE_PATH and NODE_VERSION environment variables below. |
15 |
| -# |
16 |
| -# For more information on GitHub Actions for Azure: https://github.com/Azure/Actions |
17 |
| -# For more information on the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy |
18 |
| -# For more samples to get started with GitHub Action workflows to deploy to Azure: https://github.com/Azure/actions-workflow-samples |
19 |
| - |
20 | 1 | on:
|
21 | 2 | workflow_dispatch:
|
22 | 3 |
|
|
28 | 9 | - uses: actions/checkout@v3
|
29 | 10 |
|
30 | 11 | - run: sleep 10
|
| 12 | + reminder: |
| 13 | + name: Reminder |
| 14 | + runs-on: ubuntu-latest |
| 15 | + |
| 16 | + steps: |
| 17 | + - name: Fetch CSV file |
| 18 | + run: | |
| 19 | + curl -o broken-features.csv https://raw.githubusercontent.com/refined-github/yolo/main/broken-features.csv |
| 20 | +
|
| 21 | + - name: Was it hotfixed? |
| 22 | + run: | |
| 23 | + if [ grep -e ",6350," broken-features.csv ]; then |
| 24 | + TODAY=$(npx utc-version --short) |
| 25 | + echo "WAS_HOTFIXED=true" >> $GITHUB_ENV |
| 26 | + fi |
| 27 | +
|
| 28 | + - name: Comment on Issue Closure |
| 29 | + if: env.WAS_HOTFIXED |
| 30 | + uses: peter-evans/create-or-update-comment@v1 |
| 31 | + with: |
| 32 | + issue-number: 6350 |
| 33 | + body: | |
| 34 | + This issue has been fixed and will appear in the next version. Ensure that the hotfix is disabled there. Add ${{env.WAS_HOTFIXED}} to refined-github/yolo/edit/main/broken-features.csv |
0 commit comments