Skip to content

Commit c5233c2

Browse files
committed
Refactor CI workflows: restrict conda job to ubuntu-latest and fix GitHub CLI command for PR number retrieval
1 parent 11d40c2 commit c5233c2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
strategy:
4242
fail-fast: false
4343
matrix:
44-
os: [macOS-latest, ubuntu-latest]
44+
os: [ubuntu-latest]
4545
python-version: [3.11]
4646

4747
steps:

.github/workflows/update_analysis3.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ jobs:
147147
--title "Bump access-mopper to ${VERSION} in analysis3 env" \
148148
--body "Updates \`${FILE_PATH}\` to \`accessnri::access-mopper==${VERSION}\`."
149149
# Capture PR number (works whether newly created or pre-existing)
150-
gh pr view --head "${BRANCH}" --json number -q .number > ../pr_number.txt
150+
gh pr view "${BRANCH}" --json number -q .number > ../pr_number.txt
151151
152152
- name: Enable auto-merge
153153
if: steps.edit.outputs.changed == 'true'

0 commit comments

Comments
 (0)