diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index b9af1cf..0000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: Continuous Integration -on: - pull_request: - push: - branches: [master] -jobs: - lint-and-test: - runs-on: ubuntu-latest - steps: - - name: Check out repository code - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 - with: - submodules: 'true' - - - name: Install Node - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 - - - name: Install dependencies - run: npm install - - # scan: - # needs: lint-and-test - # if: ${{ github.event_name == 'pull_request' && github.event.repository.private == false }} - # uses: circlefin/circle-public-github-workflows/.github/workflows/pr-scan.yaml@v1 - - # release-sbom: - # needs: lint-and-test - # if: github.event_name == 'push' - # uses: circlefin/circle-public-github-workflows/.github/workflows/attach-release-assets.yaml@v1 \ No newline at end of file diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml deleted file mode 100644 index 18043db..0000000 --- a/.github/workflows/workflow.yml +++ /dev/null @@ -1,32 +0,0 @@ -on: - schedule: - # runs once a week on sunday - - cron: "55 23 * * 0" - -jobs: - # This workflow contains a single job called "traffic" - traffic: - # The type of runner that the job will run on - runs-on: ubuntu-latest - - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 - with: - ref: "traffic" - - # Calculates traffic and clones and stores in CSV file - - name: GitHub traffic - uses: sangonzal/repository-traffic-action@v.0.1.6 - env: - TRAFFIC_ACTION_TOKEN: ${{ secrets.TRAFFIC_ACTION_TOKEN }} - - # Commits files to repository - - name: Commit changes - uses: EndBug/add-and-commit@290ea2c423ad77ca9c62ae0f5b224379612c0321 # v10.0.0 - with: - author_name: Traffic Bot - message: "GitHub traffic" - add: "./traffic/*" - ref: "traffic" # commits to branch "traffic"