From 8676d014b88417cfe09eaa39a38ea58110d8fc7b Mon Sep 17 00:00:00 2001 From: Samuel Johnson Date: Wed, 22 Apr 2026 13:58:41 -0400 Subject: [PATCH 1/2] dispatch --- .github/workflows/open-rules-dispatch.yml | 9 ++++----- tests/resources/dictionaries/whodrug/DD.txt | 5 ----- tests/resources/dictionaries/whodrug/INA.txt | 5 ----- 3 files changed, 4 insertions(+), 15 deletions(-) delete mode 100644 tests/resources/dictionaries/whodrug/DD.txt delete mode 100644 tests/resources/dictionaries/whodrug/INA.txt diff --git a/.github/workflows/open-rules-dispatch.yml b/.github/workflows/open-rules-dispatch.yml index 18df259a5..9a6779af0 100644 --- a/.github/workflows/open-rules-dispatch.yml +++ b/.github/workflows/open-rules-dispatch.yml @@ -8,8 +8,7 @@ jobs: dispatch: runs-on: ubuntu-latest steps: - - uses: actions/repository-dispatch@v3 - with: - token: ${{ secrets.OPEN_RULES_PAT }} - repository: cdisc-org/cdisc-open-rules - event-type: engine-updated + - name: Dispatch to cdisc-open-rules + run: gh api repos/cdisc-org/cdisc-open-rules/dispatches -f event_type=engine-updated + env: + GH_TOKEN: ${{ secrets.OPEN_RULES_PAT }} \ No newline at end of file diff --git a/tests/resources/dictionaries/whodrug/DD.txt b/tests/resources/dictionaries/whodrug/DD.txt deleted file mode 100644 index 86e5c7f50..000000000 --- a/tests/resources/dictionaries/whodrug/DD.txt +++ /dev/null @@ -1,5 +0,0 @@ -000001010016N 001 01 854DUMMYDRUG1 -000001030024T21MEX 01 041DUMMYDRUG2 -000001010032T21336 01 044DUMMYDRUG3 -000001010040T19UGA 01 044DUMMYDRUG4 -000001010057T69022 01 044DUMMYDRUG5 \ No newline at end of file diff --git a/tests/resources/dictionaries/whodrug/INA.txt b/tests/resources/dictionaries/whodrug/INA.txt deleted file mode 100644 index de8127542..000000000 --- a/tests/resources/dictionaries/whodrug/INA.txt +++ /dev/null @@ -1,5 +0,0 @@ -A 1DUMMYATCTEXT1 -A01 2DUMMYATCTEXT2 -R03CB 3DUMMYATCTEXT3 -C02AB 4DUMMYATCTEXT4 -R03AB 4DUMMYATCTEXT5 \ No newline at end of file From 054c3a996e68ec0f634ed1eb880c953f02f2a732 Mon Sep 17 00:00:00 2001 From: Samuel Johnson Date: Wed, 22 Apr 2026 14:06:54 -0400 Subject: [PATCH 2/2] restore --- tests/resources/dictionaries/whodrug/DD.txt | 5 +++++ tests/resources/dictionaries/whodrug/INA.txt | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 tests/resources/dictionaries/whodrug/DD.txt create mode 100644 tests/resources/dictionaries/whodrug/INA.txt diff --git a/tests/resources/dictionaries/whodrug/DD.txt b/tests/resources/dictionaries/whodrug/DD.txt new file mode 100644 index 000000000..86e5c7f50 --- /dev/null +++ b/tests/resources/dictionaries/whodrug/DD.txt @@ -0,0 +1,5 @@ +000001010016N 001 01 854DUMMYDRUG1 +000001030024T21MEX 01 041DUMMYDRUG2 +000001010032T21336 01 044DUMMYDRUG3 +000001010040T19UGA 01 044DUMMYDRUG4 +000001010057T69022 01 044DUMMYDRUG5 \ No newline at end of file diff --git a/tests/resources/dictionaries/whodrug/INA.txt b/tests/resources/dictionaries/whodrug/INA.txt new file mode 100644 index 000000000..de8127542 --- /dev/null +++ b/tests/resources/dictionaries/whodrug/INA.txt @@ -0,0 +1,5 @@ +A 1DUMMYATCTEXT1 +A01 2DUMMYATCTEXT2 +R03CB 3DUMMYATCTEXT3 +C02AB 4DUMMYATCTEXT4 +R03AB 4DUMMYATCTEXT5 \ No newline at end of file