diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8157d6eb..194c6110 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -44,7 +44,7 @@ jobs: uses: ./ # Uses an action in the root directory with: source_repo_path: AndreasAugustin/template.git - is_dry_run: true + is_dry_run: false is_force_push_pr: true - name: print output env: diff --git a/.github/workflows/test_github_app _target_org.yml b/.github/workflows/test_github_app _target_org.yml deleted file mode 100644 index 12481d1b..00000000 --- a/.github/workflows/test_github_app _target_org.yml +++ /dev/null @@ -1,54 +0,0 @@ -name: test-github_app - -on: - push: - # branches: - # - "!main" - # pull_request: - workflow_call: - workflow_dispatch: - -jobs: - test-implementation-job: - runs-on: ubuntu-latest - permissions: - contents: write - pull-requests: write - steps: - # To use this repository's private action, you must check out the repository - - name: token-generation - uses: actions/create-github-app-token@v1 - id: source-app-token - with: - app-id: ${{ secrets.TEST_GITHUB_APP_ID }} - private-key: ${{ secrets.TEST_APP_PEM_FILE }} - owner: alexvanderberkel - repositories: private-test-repo - - - name: token-generation - uses: actions/create-github-app-token@v1 - id: target-app-token - with: - app-id: ${{ secrets.TEST_2_GITHUB_APP_ID }} - private-key: ${{ secrets.TEST_2_APP_PEM_FILE }} - owner: alexvanderberkel - repositories: private-test-repo-2 - - - name: Checkout - # https://github.com/actions/checkout#usage - uses: actions/checkout@v4 - with: - token: ${{ steps.source-app-token.outputs.token }} - persist-credentials: false # Don't set this to true as otherwise the token will be stored in the local git config and the run will fail - - - name: Test action step - uses: ./ # Uses an action in the root directory - env: - MY_VAR: "bar" - with: - source_repo_path: alexvanderberkel/private-test-repo - source_gh_token: ${{ steps.source-app-token.outputs.token }} - target_gh_token: ${{ steps.target-app-token.outputs.token }} - upstream_branch: main - is_dry_run: true - is_allow_hooks: true