Skip to content

Proxy Update Job

Proxy Update Job #3037

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Proxy Update Job
on:
pull_request:
branches: [ main ]
workflow_dispatch:
schedule:
- cron: '0 * * * *'
permissions:
contents: read
pull-requests: write
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.16.0]
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.BOT_GITHUB_TOKEN || github.token }}
- run: npm i
- run: npm install -g protractor
- run: sudo chmod 0755 /usr/local/share/chromedriver-linux64
- run: protractor conf.js
- name: Commit files
run: |
git config --local user.email "[email protected]"
git config --local user.name "skiddle-bot"
git commit -a -m "Updated Proxies"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.BOT_GITHUB_TOKEN }}
branch: ${{ github.ref }}
env:
CI: true