mirror of
https://github.com/gcatanese/adyen-postman.git
synced 2026-03-10 08:01:18 +00:00
Adding details in the GitHub Issue creation process tempalte
This commit is contained in:
10
.github/ISSUE_TEMPLATE/openapi-changes.yml
vendored
10
.github/ISSUE_TEMPLATE/openapi-changes.yml
vendored
@@ -1,10 +1,14 @@
|
||||
---
|
||||
name: OpenAPI changes
|
||||
about: Files need to be generated again
|
||||
name: OpenAPI changes {{tools.context.sha}}
|
||||
title: New changes in adyen-openapi
|
||||
labels: enhancement
|
||||
assignees: jlengrand, gcatanese
|
||||
|
||||
---
|
||||
|
||||
See [adyen-openapi](https://github.com/adyen/adyen-openapi)
|
||||
See the diff here -> https://github.com/Adyen/adyen-openapi/commit/{{tools.context.sha}}.
|
||||
|
||||
The list of changed files is the following ->
|
||||
{{env.FILENAMES}}
|
||||
|
||||
See [adyen-openapi](https://github.com/adyen/adyen-openapi) for more details.
|
||||
17
.github/workflows/trigger-postman.yml
vendored
17
.github/workflows/trigger-postman.yml
vendored
@@ -11,9 +11,24 @@ jobs:
|
||||
name: "Dummy action"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
repository: 'Adyen/adyen-openapi'
|
||||
fetch-depth: 0
|
||||
- name: Get changed files in the yaml folder
|
||||
id: changed-files-specific
|
||||
uses: tj-actions/changed-files@v35
|
||||
with:
|
||||
files: yaml/*.yaml
|
||||
- name: Run nothing if no file in the yaml folder has changed
|
||||
if: steps.changed-files-specific.outputs.any_changed == 'false'
|
||||
run: |
|
||||
echo "No changes detected in the yaml folder. Nothing to do!"
|
||||
- name: Files have changed in the YAML folder, we create an issue
|
||||
- uses: JasonEtco/create-an-issue@v2
|
||||
if: steps.changed-files-specific.outputs.any_changed == 'true'
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
FILENAMES: ${{ steps.changed-files-specific.outputs.all_changed_files }}
|
||||
with:
|
||||
filename: .github/ISSUE_TEMPLATE/openapi-changes.yml
|
||||
Reference in New Issue
Block a user