2022-04-21 11:51:32 -07:00
|
|
|
name: export-github-repo
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2022-05-03 01:45:54 -07:00
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
paths:
|
|
|
|
- "web3.js/**"
|
2022-04-21 11:51:32 -07:00
|
|
|
|
|
|
|
env:
|
2022-04-21 20:12:58 -07:00
|
|
|
GITHUB_TOKEN: ${{secrets.PAT}}
|
2022-04-21 11:51:32 -07:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
web3:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-04-21 22:40:38 -07:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2022-11-02 00:26:36 -07:00
|
|
|
- uses: actions/setup-python@v4
|
2022-04-21 11:51:32 -07:00
|
|
|
with:
|
2022-04-21 22:40:38 -07:00
|
|
|
python-version: "3.x"
|
2022-04-21 11:51:32 -07:00
|
|
|
- name: cmd
|
|
|
|
run: |
|
|
|
|
chmod +x ./ci/export-github-repo.sh
|
|
|
|
./ci/export-github-repo.sh web3.js/ solana-web3.js
|
|
|
|
shell: bash
|
2022-11-21 03:22:00 -08:00
|
|
|
|
|
|
|
error_reporting:
|
|
|
|
needs:
|
|
|
|
- web3
|
|
|
|
if: failure() && github.event_name == 'push'
|
2022-11-29 08:58:42 -08:00
|
|
|
uses: ./.github/workflows/error-reporting.yml
|
|
|
|
secrets:
|
|
|
|
WEBHOOK: ${{ secrets.SLACK_ERROR_REPORTING_WEBHOOK }}
|