diff --git a/.github/workflows/environment.yml b/.github/workflows/environment.yml index 625c0b6..80e2363 100644 --- a/.github/workflows/environment.yml +++ b/.github/workflows/environment.yml @@ -2,6 +2,8 @@ name: Create environment on: push: + branches: + - main paths: - Action/Dockerfile - Action/* diff --git a/.github/workflows/test-workflow.yml b/.github/workflows/test-workflow.yml index 4ceeb70..be12244 100644 --- a/.github/workflows/test-workflow.yml +++ b/.github/workflows/test-workflow.yml @@ -1,6 +1,9 @@ name: Use the action locally to test GH Action functionality on: + push: + branches: + - main workflow_dispatch: jobs: @@ -9,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Create Medium Post - uses: philips-software/post-to-medium-action@v0.1 + uses: philips-software/post-to-medium-action@main with: integration_token: "${{ secrets.INTEGRATION_TOKEN }}" content: "Test content to see if publishing works from GH Action"