Fix the Nuxt unit-tests that were marked as skipped during the Nuxt 3 migration #5078
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Runs all automations related to issue events. | |
# | |
# See `pr_automations_init.yml` and `pr_automations.yml` for the corresponding | |
# implementation for PRs. | |
name: Issue automations | |
on: | |
issues: | |
types: | |
- opened | |
- reopened | |
- closed | |
- assigned | |
- labeled | |
- unlabeled | |
jobs: | |
run: | |
name: Perform issue automations | |
runs-on: ubuntu-latest | |
# Prevent running this workflow on forks, it's unnecessary for external contributors | |
if: github.repository_owner == 'WordPress' | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Perform issue automations | |
uses: actions/github-script@v7 | |
env: | |
EVENT_NAME: ${{ github.event_name }} | |
EVENT_ACTION: ${{ github.event.action }} | |
with: | |
github-token: ${{ secrets.ACCESS_TOKEN }} | |
script: | | |
const { main } = await import('${{ github.workspace }}/automations/js/src/project_automation/issues.mjs') | |
await main(github, core, context) |