Skip to content

Workflow file names still supported? #41

@kroikie

Description

@kroikie

I have tried using workflow file names in my cancel.yml. However none of workflows seem to be identified when running via the file name.

Here is my cancel.yml file:

name: cancel
on: [push]
jobs:
  cancel:
    name: 'Cancel Previous Runs'
    runs-on: ubuntu-latest
    timeout-minutes: 3
    steps:
      - uses: styfle/cancel-workflow-action@0.6.0
        with:
          workflow_id: 'app.yml, app-deploy.yml, proxy-deploy.yml'
          access_token: ${{ github.token }}

When I replaced the workflow file names with the workflow IDs the running actions were canceled as expected. I also had a look at the source and did not see any conversion from file name to workflow ID.

Maybe I'm not understanding how to use the file names so any info here would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions