Skip to content

Commit

Permalink
issue #4: add token
Browse files Browse the repository at this point in the history
  • Loading branch information
vivalareda committed Dec 20, 2023
1 parent 4b7bdea commit 7573ffe
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/workflow-lint-test-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:

permissions:
contents: write
actions: write

jobs:
lint-test:
Expand All @@ -20,6 +19,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
with:
token: ${{ secrets.COMMIT_TOKEN }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}

Expand Down Expand Up @@ -89,17 +89,6 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}

# - name: Push new file
# if: steps.compare_values.outputs.update_value == 'true'
# run: |
# git config --local user.email "[email protected]"
# git config --local user.name "GitHub Actions"
# git add .github/workflows/gcp-deployment.yml
# git commit -m "Update threshold"
# git push
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Commit changes
if: steps.compare_values.outputs.update_value == 'true'
uses: EndBug/add-and-commit@v9
Expand Down

0 comments on commit 7573ffe

Please sign in to comment.