Skip to content

Merge pull request #275 from fluxcd/dependabot/github_actions/ci-2057… #131

Merge pull request #275 from fluxcd/dependabot/github_actions/ci-2057…

Merge pull request #275 from fluxcd/dependabot/github_actions/ci-2057… #131

Workflow file for this run

name: e2e-github
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
tags-ignore: ["*"]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version-file: 'go.mod'
cache: true
- name: Run tests
run: |
[ -n "${{ secrets.GITPROVIDER_BOT_TOKEN }}" ] && export GITHUB_TOKEN=${{ secrets.GITPROVIDER_BOT_TOKEN }} || echo "using default GITHUB_TOKEN"
make test-e2e-github