GitHub Actions have suddenly stopped triggering on PR & push to main

Hi there, GitHub Actions have suddenly stopped being triggered on my repo, on either PRs against main or when merging to main. I didn’t change anything about my workflow configuration or anything, today I just made a PR like any other and it didn’t trigger at all, so I ran tests locally and merged the PR and it didn’t run on main either.

This is my ci.yml file. As I said, I didn’t change anything about the file or .github directory, so this can’t have been caused by changes to those things.

name: Skyrim Inventory Management CI

    branches: [ main ]
    branches: [ main ]

    runs-on: ubuntu-latest

        image: postgres:9.6
          POSTGRES_HOST: localhost
          POSTGRES_USERNAME: postgres
          POSTGRES_PASSWORD: postgres
        options: >-
          --health-cmd pg_isready
          --health-interval 10s
          --health-timeout 5s
          --health-retries 5
          # Maps tcp port 5432 on service container to the host
          - 5432:5432

      - name: Check out repository code
        uses: actions/checkout@v2
      - name: Set up Ruby
        uses: ruby/setup-ruby@v1
          ImageOS: ubuntu20
      - name: Install dependencies
        run: bundle install
      - name: Set up database
        run: |
          cp config/database.github-actions.yml config/database.yml
          bundle exec rails db:create
          bundle exec rails db:migrate
      - name: Run Rubocop
        run: bundle exec rails rubocop
      - name: Run RSpec
        run: |
          bundle exec rails db:prepare
          bundle exec rails spec
          PGHOST: localhost
          PGUSER: postgres
          PGPASSWORD: postgres

If anybody had any ideas why this might not be working I would be very grateful! The repo where I’m having this problem is GitHub - danascheider/skyrim_inventory_management: Managing items and inventory across properties in S.

Same issue here. I’m assuming it’s due to GitHub Status - Incident with GitHub Actions

1 Like

Oh right, that’s probably it. Thanks for pointing that out!