mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-02-02 05:41:10 -08:00
chore(actions): use correct pull_request object
This commit is contained in:
parent
6d7bb8cf01
commit
72b01a6a6d
6
.github/workflows/close_themes_pr.yml
vendored
6
.github/workflows/close_themes_pr.yml
vendored
|
@ -15,11 +15,7 @@ jobs:
|
|||
github-token: ${{secrets.GITHUB_TOKEN}}
|
||||
script: |
|
||||
const { repo: { owner, repo } } = context;
|
||||
const pr = context.payload;
|
||||
|
||||
console.log(`Repo: ${repo}`);
|
||||
console.log(`Owner: ${owner}`);
|
||||
console.log(`Pull Request: ${JSON.stringify(pr)}`);
|
||||
const pr = context.payload.pull_request;
|
||||
|
||||
const response = await github.rest.pulls.listFiles({
|
||||
owner, repo,
|
||||
|
|
Loading…
Reference in a new issue