Adding support for different target host than the executing environment #267
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
name: build-fork | |
on: # Rebuild any PRs submitted by forks | |
pull_request: | |
jobs: | |
lint-markdown: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: ⬇️ lint markdown files | |
uses: avto-dev/markdown-lint@v1 | |
with: | |
config: '.markdownlint.json' | |
args: '**/*.md .github/**/*.md' | |
lint-renovate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: 🧼 lint renovate config | |
uses: suzuki-shunsuke/[email protected] | |
with: | |
config_file_path: renovate.json | |
build-fork: | |
if: ${{ github.event.pull_request.head.repo.fork }} | |
runs-on: ubuntu-latest | |
env: | |
INPUT_TOKEN: ${{ secrets.ACCESS_TOKEN }} | |
INPUT_OWNER: tremor-rs | |
INPUT_REPO: tremor-runtime | |
INPUT_USER: lhasa-ospo | |
INPUT_CHECKUSER: false | |
INPUT_PROMOTEUSER: false | |
INPUT_LICENSEALLOWLIST: "0bsd\napache-2.0\nbsd-2-clause\nbsd-3-clause\nmit" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "🛠 build + test npm" | |
run: npm run fork |