Fixing issue with github issue creation job

This commit is contained in:
Julien Lengrand-Lambert
2023-02-23 13:14:20 +01:00
parent 4b17af4f01
commit 001e1411ec
3 changed files with 4 additions and 5 deletions

View File

@@ -13,23 +13,23 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
path: 'adyen-postman'
fetch-depth: 2 fetch-depth: 2
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
repository: 'Adyen/adyen-openapi' repository: 'Adyen/adyen-openapi'
path: 'adyen-openapi'
fetch-depth: 0 fetch-depth: 0
- name: Get changed files in the yaml folder - name: Get changed files in the yaml folder
id: changed-files-specific id: changed-files-specific
uses: tj-actions/changed-files@v35 uses: tj-actions/changed-files@v35
with: with:
files: yaml/*.yaml files: adyen-openapi/yaml/*.yaml
- uses: JasonEtco/create-an-issue@v2 - uses: JasonEtco/create-an-issue@v2
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FILENAMES: ${{ steps.changed-files-specific.outputs.all_changed_files }} FILENAMES: ${{ steps.changed-files-specific.outputs.all_changed_files }}
with: with:
filename: adyen-postman/.github/ISSUE_TEMPLATE/openapi-changes.yml filename: .github/ISSUE_TEMPLATE/openapi-changes.yml
generate: generate:
name: "Generate latest definitions files" name: "Generate latest definitions files"
runs-on: ubuntu-latest runs-on: ubuntu-latest

1
.gitignore vendored
View File

@@ -1,3 +1,4 @@
adyen-openapi adyen-openapi
.idea .idea
.DS_Store .DS_Store
semicolon_delimited_script

View File

@@ -1,2 +0,0 @@
/usr/src/app/generateAll.sh