• Home
  • Raw
  • Download

Lines Matching +full:repo +full:- +full:owner

7 #     https://www.apache.org/licenses/LICENSE-2.0
22 - cron: '0 7 * * 2'
27 runs-on: ubuntu-latest
28 if: ${{github.repository == 'googleapis/google-api-python-client'}}
30 - name: Get current date
32 run: echo "::set-output name=current_date::$(date +'%Y-%m-%d')"
34 - name: Check out main branch
39 - name: Create branch
41 git checkout -b update-discovery-artifacts-${{ steps.date.outputs.current_date }}
43 - name: Set up Python 3.9
44 uses: actions/setup-python@v2
46 python-version: 3.9
48 - name: Install google-api-python-client
49 run: pip3 install -e .
51 - name: Install script dependencies
52 run: pip3 install -r requirements.txt
53 working-directory: ./scripts
59 - name: Workaround to avoid DefaultCredentialsError in discovery.py
60 run: sed -i -e 's/if credentials is None/if False/g' googleapiclient/discovery.py
62 - name: Run Change Summary
64 working-directory: ./scripts
66 - name: Commit changes
68 working-directory: ./scripts
70 - name: Push changes
71 …run: git push -f --set-upstream origin update-discovery-artifacts-${{ steps.date.outputs.current_d…
73 - name: Prepare summary for PR Body
82 echo "::set-output name=change_summary::$output"
83 working-directory: ./scripts
85 - name: Create PR
86 uses: actions/github-script@v4.0.2
88 github-token: ${{secrets.YOSHI_CODE_BOT_TOKEN}}
91 const { owner, repo } = context.repo
92 const branch = 'update-discovery-artifacts-${{ steps.date.outputs.current_date }}'
96 owner: owner,
97 repo: repo,
98 head: `${owner}:${branch}`,
105 owner: owner,
106 repo: repo,
114 owner: owner,
115 repo: repo,
117 head: `${owner}:${branch}`,