Skip to content

Commit d8e55f3

Browse files
BillWagnerCopilot
andauthored
import options into env (#12064)
* import options into env Import the workflow_dispatch options into the environment. * Update .github/workflows/quest.yml Co-authored-by: Copilot <[email protected]> * Update .github/workflows/quest.yml Co-authored-by: Copilot <[email protected]> * Apply suggestions from code review --------- Co-authored-by: Copilot <[email protected]>
1 parent f321970 commit d8e55f3

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

.github/workflows/quest-bulk.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ jobs:
2727
- name: "Print manual bulk import run reason"
2828
if: ${{ github.event_name == 'workflow_dispatch' }}
2929
run: |
30-
echo "Reason: ${{ github.event.inputs.reason }}"
30+
echo "Reason: $REASON"
31+
env:
32+
REASON: ${{ github.event.inputs.reason }}
3133

3234
- name: Azure OpenID Connect
3335
id: azure-oidc-auth

.github/workflows/quest.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,11 @@ jobs:
2828
- name: "Print manual run reason"
2929
if: ${{ github.event_name == 'workflow_dispatch' }}
3030
run: |
31-
echo "Reason: ${{ github.event.inputs.reason }}"
32-
echo "Issue number: ${{ github.event.inputs.issue }}"
31+
echo "Reason: $REASON"
32+
echo "Issue number: $ISSUENUMBER"
33+
env:
34+
REASON: ${{ github.event.inputs.reason }}
35+
ISSUENUMBER: ${{ github.event.inputs.issue }}
3336

3437
- name: Azure OpenID Connect
3538
id: azure-oidc-auth

.github/workflows/version-sweep.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ jobs:
3333
- name: 'Print manual run reason'
3434
if: ${{ github.event_name == 'workflow_dispatch' }}
3535
run: |
36-
echo 'Reason: ${{ github.event.inputs.reason }}'
36+
echo 'Reason: $REASON'
37+
env:
38+
REASON: ${{ github.event.inputs.reason }}
3739
# Start the .NET version sweeper, scan projects/slns for non-LTS (or currrent) versions
3840
- name: .NET version sweeper
3941
id: dotnet-version-sweeper

0 commit comments

Comments
 (0)