Skip to content

Commit 0e1a06f

Browse files
BillWagnerCopilot
andauthored
Update actions (#5811)
* import options into env Don't directly use the workflow-dispatch inputs. Instead, import them into the environment first. * Remove the what's new automation It's not being used anymore. * Apply suggestions from code review Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Apply suggestions from code review --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 3376fcc commit 0e1a06f

File tree

4 files changed

+12
-65
lines changed

4 files changed

+12
-65
lines changed

.github/workflows/dependabot-bot.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ jobs:
4040
- name: "Print manual run reason"
4141
if: ${{ github.event_name == 'workflow_dispatch' }}
4242
run: |
43-
echo "Reason: ${{ github.event.inputs.reason }}"
43+
echo "Reason: $REASON"
44+
env:
45+
REASON: ${{ github.event.inputs.reason }}
4446
# Run the .NET dependabot-bot tool
4547
- name: dependabot-bot
4648
id: dependabot-bot

.github/workflows/quest-bulk.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ jobs:
3535
- name: "Print manual bulk import run reason"
3636
if: ${{ github.event_name == 'workflow_dispatch' }}
3737
run: |
38-
echo "Reason: ${{ github.event.inputs.reason }}"
38+
echo "Reason: $REASON"
39+
env:
40+
REASON: ${{ github.event.inputs.reason }}
3941

4042
- name: Azure OpenID Connect
4143
id: azure-oidc-auth

.github/workflows/quest.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,11 @@ jobs:
3636
- name: "Print manual run reason"
3737
if: ${{ github.event_name == 'workflow_dispatch' }}
3838
run: |
39-
echo "Reason: ${{ github.event.inputs.reason }}"
40-
echo "Issue number: ${{ github.event.inputs.issue }}"
39+
echo "Reason: $REASON"
40+
echo "Issue number: $ISSUENUMBER"
41+
env:
42+
REASON: ${{ github.event.inputs.reason }}
43+
ISSUENUMBER: ${{ github.event.inputs.issue }}
4144

4245
- name: Azure OpenID Connect
4346
id: azure-oidc-auth
@@ -78,4 +81,4 @@ jobs:
7881
org: ${{ github.repository_owner }}
7982
repo: ${{ github.repository }}
8083
issue: ${{ github.event.issue.number }}
81-
84+

.github/workflows/whats-new-automation.yml

Lines changed: 0 additions & 60 deletions
This file was deleted.

0 commit comments

Comments
 (0)