Skip to content

Commit

Permalink
# Fixed generate_api.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Theo Truong <[email protected]>
  • Loading branch information
nhtruong committed Sep 13, 2024
1 parent 5034779 commit 959bbb5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/generate_api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ jobs:
contents: write
pull-requests: write
steps:
- name: Config git to rebase
run: git config --global pull.rebase true

- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0

- name: Config git to rebase
run: git config --global pull.rebase true

- name: Setup Node.js
uses: actions/setup-node@v3
with:
Expand All @@ -37,7 +37,7 @@ jobs:
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_ENV

- name: GitHub App token
id: github_app_token
Expand All @@ -51,11 +51,11 @@ jobs:
uses: peter-evans/create-pull-request@v6
with:
token: ${{ steps.github_app_token.outputs.token }}
commit-message: Updated opensearch-js to reflect the latest OpenSearch API spec (${{ steps.date.outputs.date }})
commit-message: Updated opensearch-js to reflect the latest OpenSearch API spec (${{ env.date }})
title: [AUTOCUT] Update opensearch-js to reflect the latest OpenSearch API spec
body: |
Update `opensearch-js` to reflect the latest [OpenSearch API spec](https://github.com/opensearch-project/opensearch-api-specification/releases/download/main-latest/opensearch-openapi.yaml).
Date: ${{ steps.date.outputs.date }}
Date: ${{ env.date }}
branch: update-api-from-spec
base: main
signoff: true
Expand Down

0 comments on commit 959bbb5

Please sign in to comment.