Files
masyunis/.github/workflows/gubal.yml
T
sol_bot Bot e07de898cd Import Anubis v1.28.2
Replace the tree with upstream TecharoHQ/anubis v1.28.2 (a1384fbf42e3).
Masyunis customizations are re-applied in the following commits.
2026-11-28 14:52:26 +03:00

46 lines
1.4 KiB
YAML

name: The great browser testing library of Gubal
on:
pull_request_review_comment:
types: [created]
issue_comment:
types: [created]
jobs:
gubal_test:
if: |
startsWith(github.event.comment.body, '/gubaltest')
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
pull-requests: write
issues: write
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
fetch-tags: true
fetch-depth: 0
- name: Install gubalctl
run: |
arch=amd64
if [ "$(uname -m)" = "aarch64" ]; then
arch=arm64
fi
wget -O gubalctl.deb "https://xedn.t3.tigrisfiles.io/dl/gubalctl/gubalctl_0.0.0_${arch}.deb"
sudo apt-get -y install ./gubalctl.deb
- name: Run gubal test
run: |
gubalctl --url https://gubald.xeserv.us --anubis-image ttl.sh/techaro/pr-${PR_NUMBER}/anubis:24h
env:
GITHUB_REPO: ${{ github.repository }}
GITHUB_SHA: ${{ github.event.pull_request.head.sha || github.sha }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ACCESS_KEY_ID: ${{ secrets.GUBALD_ACCESS_KEY_ID }}
SECRET_ACCESS_KEY: ${{ secrets.GUBALD_SECRET_ACCESS_KEY }}
PR_NUMBER: ${{ github.event.issue.number || github.event.pull_request.number }}