Sha256: 5046df496bc17392503fcf9f98d935e3ebb9f928d9abdba4e5b2f49e1b687853
Contents?: true
Size: 1.73 KB
Versions: 15
Compression:
Stored size: 1.73 KB
Contents
name: ci on: pull_request_target: workflow_dispatch: inputs: git-ref: required: true permissions: contents: write pull-requests: write jobs: test: runs-on: ubuntu-22.04${{ github.actor != 'dependabot[bot]' && '-16core' || '' }} timeout-minutes: 30 env: RAILS_ENV: test RAILS_MASTER_KEY: ${{ secrets.RAILS_MASTER_KEY }} steps: - name: Set up MySQL run: | sudo /etc/init.d/mysql start sudo mysql -uroot -proot -e"ALTER USER 'root'@'localhost' IDENTIFIED WITH caching_sha2_password BY '';" - name: Checkout code uses: actions/checkout@v3 with: ref: ${{ github.event.inputs.git-ref || github.event.pull_request.head.sha }} - name: Install Ruby and gems uses: ruby/setup-ruby@v1 with: bundler-cache: true - name: Setup run: bin/setup - name: Run tests run: bin/ci autodeploy-dependabot-prs: needs: test runs-on: ubuntu-22.04 timeout-minutes: 30 if: github.actor == 'dependabot[bot]' steps: - name: Merge Dependabot PR run: gh pr merge --auto --rebase "$PR_URL" env: PR_URL: ${{github.event.pull_request.html_url}} GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} - uses: actions/checkout@v3 - uses: ruby/setup-ruby@v1 with: bundler-cache: true - name: Install SSH key uses: shimataro/ssh-key-action@v2 with: key: ${{ secrets.DEPLOY_SSH_PRIVATE_KEY }} known_hosts: unnecessary config: | Host * StrictHostKeyChecking no UserKnownHostsFile=/dev/null - name: deploy run: bundle exec bard deploy --skip-ci
Version data entries
15 entries across 15 versions & 1 rubygems