From c6f02d0833eaa24e7fa91f857dd00246a1afd22b Mon Sep 17 00:00:00 2001 From: Yoriyasu Yano <430092+yorinasub17@users.noreply.github.com> Date: Thu, 2 Nov 2023 15:50:18 -0500 Subject: [PATCH] Make sure to fetch bitbucket remote (#17) Signed-off-by: Yoriyasu Yano <430092+yorinasub17@users.noreply.github.com> --- .github/workflows/mirror-bitbucket.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/mirror-bitbucket.yml b/.github/workflows/mirror-bitbucket.yml index be4230b..5b20f0c 100644 --- a/.github/workflows/mirror-bitbucket.yml +++ b/.github/workflows/mirror-bitbucket.yml @@ -17,7 +17,9 @@ jobs: - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 - name: add bitbucket remote - run: git remote add bitbucket "https://x-token-auth:${BITBUCKET_ACCESS_TOKEN}@bitbucket.org/fensak-io/fensak-rules-examples.git" + run: | + git remote add bitbucket "https://x-token-auth:${BITBUCKET_ACCESS_TOKEN}@bitbucket.org/fensak-io/fensak-rules-examples.git" + git fetch bitbucket env: BITBUCKET_ACCESS_TOKEN: ${{ secrets.BITBUCKET_ACCESS_TOKEN }}