generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 14
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 #7 from lelia/wayfair_incubator_org_transfer
Repository org transfer: wayfair-incubator
- Loading branch information
Showing
9 changed files
with
8,377 additions
and
3,035 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,66 +1,52 @@ | ||
name: Tests | ||
|
||
on: # rebuild any PRs and main branch changes | ||
on: # Rebuild any PRs and main branch changes | ||
|
||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
inputs: | ||
owner: | ||
description: 'Owner of Github repository being forked' | ||
required: true | ||
repo: | ||
description: 'Github repository being forked' | ||
required: true | ||
org: | ||
description: 'Github organization to fork the repository into' | ||
required: false | ||
user: | ||
description: 'Github user requesting the fork' | ||
required: false | ||
addUser: | ||
description: 'Add Github user to organization if missing' | ||
required: false | ||
default: false | ||
licenseAllowlist: | ||
description: 'List of allowed licenses for repository being forked' | ||
required: false | ||
default: 'undefined' | ||
|
||
jobs: | ||
|
||
build: | ||
runs-on: ubuntu-latest | ||
env: | ||
INPUT_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
name: "🛠 test npm build" | ||
- run: | | ||
npm install | ||
- run: | | ||
npm run all | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: ./ | ||
name: "🚀 test github user workflow" | ||
with: | ||
path: ./ | ||
token: ${{ secrets.GH_API_TOKEN }} | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
repo: tremor-runtime | ||
owner: tremor-rs | ||
user: lelia | ||
- uses: ./ | ||
name: "🌎 test github org workflow" | ||
with: | ||
path: ./ | ||
token: ${{ secrets.GH_API_TOKEN }} | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
licenseAllowlist: "0bsd\napache-2.0\nmit" | ||
repo: roadie-backstage-plugins | ||
owner: RoadieHQ | ||
org: wayfair-contribs | ||
user: lelia | ||
addUser: true | ||
############################################################################## | ||
# Integration tests temporarily disabled while token access issue is diagnosed | ||
############################################################################## | ||
|
||
# test: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v2 | ||
# - uses: ./ | ||
# name: "🚀 test github user workflow" | ||
# with: | ||
# path: ./ | ||
# token: ${{ secrets.ACCESS_TOKEN }} | ||
# ref: ${{ github.event.pull_request.head.sha }} | ||
# repo: tremor-runtime | ||
# owner: tremor-rs | ||
# user: lelia | ||
# - uses: ./ | ||
# name: "🌎 test github org workflow" | ||
# with: | ||
# path: ./ | ||
# token: ${{ secrets.ACCESS_TOKEN }} | ||
# ref: ${{ github.event.pull_request.head.sha }} | ||
# licenseAllowlist: "0bsd\napache-2.0\nmit" | ||
# repo: roadie-backstage-plugins | ||
# owner: RoadieHQ | ||
# org: wayfair-contribs | ||
# user: lelia | ||
# addUser: true |
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
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.