Skip to content

Commit

Permalink
using Codex-/return-dispatch to get the run-id for OSS when a run is …
Browse files Browse the repository at this point in the history
…triggered (#666)
  • Loading branch information
sayaliM0412 authored Nov 27, 2023
1 parent 06adc2b commit 58874a1
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@ on:
types:
- opened
- reopened
- synchronize
repository_dispatch:
types: [run-test-harness]
- synchronize

schedule:
- cron: '0 6 * * *' # Execute every day at noon
workflow_dispatch:
inputs:
distinct_id:
description: 'distinct id for the triggered run from OSS'
required: false
runDescription:
description: 'Description of run'
required: false
Expand Down Expand Up @@ -87,6 +88,10 @@ jobs:
steps:
- uses: actions/checkout@v4

#https://github.com/Codex-/return-dispatch
- name: echo distinct ID ${{ github.event.inputs.distinct_id }}
run: echo ${{ github.event.inputs.distinct_id }}

- name: Configure Build
id: configure-build
uses: actions/[email protected]
Expand Down

0 comments on commit 58874a1

Please sign in to comment.