diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 76fb00b04..80a699ca6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,14 +4,13 @@ permissions: contents: read pull-requests: write -on: +on: push: - branches: - tags: - - '!v*-*' + branches: ["*"] + tags-ignore: ["v*-*"] + pull_request: - branches: - - main + branches: [ "main" ] workflow_dispatch: concurrency: diff --git a/MigrationTools.sln b/MigrationTools.sln index 71c4a0e90..3c1027118 100644 --- a/MigrationTools.sln +++ b/MigrationTools.sln @@ -95,6 +95,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".workflows", ".workflows", .github\workflows\open-pr-describer.yml = .github\workflows\open-pr-describer.yml .github\workflows\opencommit.yml = .github\workflows\opencommit.yml .github\workflows\stale.yml = .github\workflows\stale.yml + triggertest.yml = triggertest.yml EndProjectSection EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MigrationTools.ConsoleDataGenerator", "src\MigrationTools.ConsoleDataGenerator\MigrationTools.ConsoleDataGenerator.csproj", "{6A259EA6-860B-448A-8943-594DC1A15105}" diff --git a/triggertest.yml b/triggertest.yml new file mode 100644 index 000000000..470149019 --- /dev/null +++ b/triggertest.yml @@ -0,0 +1,25 @@ +name: Trigger Test + +on: + push: + branches: + - '*' + - main + tags: + - '*' + - '!v*-*' + pull_request: + branches: + - main + workflow_dispatch: + + jobs: + Test: + name: "Test " + runs-on: ubuntu-latest + steps: + - name: "Test" + shell: pwsh + id: nkdagility + run: | + Write-Output "Hello World" \ No newline at end of file