-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32 from Bandwidth/SWI-2821
SWI-2128 Update Action for New Pipeline
- Loading branch information
Showing
4 changed files
with
5,629 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# Global rule: | ||
* @Bandwidth/dx | ||
* @Bandwidth/band-swi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,31 @@ | ||
name: Test | ||
on: | ||
pull_request: | ||
on: | ||
pull_request: | ||
paths: | ||
- 'action.yml' | ||
workflow_dispatch: | ||
- "action.yml" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
test: | ||
name: Test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Run Test with Local Files | ||
id: generate | ||
uses: ./ | ||
with: | ||
uses: ./ | ||
with: | ||
branch-name: ci-cd-test | ||
username: ${{ secrets.DX_GITHUB_USERNAME }} | ||
token: ${{ secrets.DX_GITHUB_TOKEN }} | ||
openapi-generator-version: 6.0.1 | ||
token: ${{ secrets.DX_GITHUB_TOKEN }} | ||
openapi-generator-version: 6.5.0 | ||
language: python | ||
api-spec-path: ./utils/bandwidth.yml | ||
config: ./utils/test-config.yml | ||
|
||
- name: Delete Branch | ||
if: ${{ always() }} | ||
run: git push origin --delete ci-cd-test | ||
shell: bash | ||
|
||
- name: Delete Branch if Workflow Fails | ||
if: ${{ failure() }} | ||
run: git push origin --delete ci-cd-test | ||
shell: bash | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.