Skip to content

Commit

Permalink
test pr
Browse files Browse the repository at this point in the history
Signed-off-by: Piotr Narajowski <[email protected]>
  • Loading branch information
piotrnarajowski committed Apr 11, 2024
1 parent 53512bb commit 84a5e22
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/check_pr_changes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 2

- name: List changed files
id: list_files
run: |
git diff --name-only origin/master...HEAD > changed_files.txt
git diff --name-only HEAD^1 HEAD > changed_files.txt
- name: Check for changes in autopts/wid directory
id: check_changes
Expand All @@ -33,10 +35,9 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const context = github.context;
const owner = context.payload.repository.owner.login;
const repo = context.payload.repository.name;
const prNumber = context.payload.pull_request.number;
const owner = github.context.payload.repository.owner.login;
const repo = github.context.payload.repository.name;
const prNumber = github.context.payload.pull_request.number;
const commentBody = '#AutoPTS run zephyr MCP';
github.issues.createComment({
owner,
Expand Down
2 changes: 2 additions & 0 deletions autopts/wid/mcp.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ def hdl_wid_15(params: WIDParams):

stack = get_stack()

# test

if stack.mcp.error_opcodes != [2, 3, 4]:
return False

Expand Down

0 comments on commit 84a5e22

Please sign in to comment.