Skip to content

Commit

Permalink
Disable auto notes (PalisadoesFoundation#1786)
Browse files Browse the repository at this point in the history
* remove auto release notes and commented lines

* remove documentationcheck.py reference too
  • Loading branch information
literalEval authored Apr 18, 2023
1 parent 3cd0c0a commit d8106ba
Showing 1 changed file with 1 addition and 37 deletions.
38 changes: 1 addition & 37 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,6 @@ jobs:
# run: echo "$GITHUB_CONTEXT"
# - name: Echo the GitHub context for troubleshooting
# run: echo "${{ toJSON(github) }}"
# - name: Granting permission to documentationcheck.py
# run: chmod +x ./.github/workflows/documentationcheck.py
# - name: execute py script
# # For more information on the GitHub context used for the "--repository" flag used by this script visit:
# # https://docs.github.com/en/actions/learn-github-actions/contexts
# run: |
# git branch
# pip install GitPython
# python ./.github/workflows/documentationcheck.py --repository ${{github.repository}} --merge_branch_name ${{github.ref_name}}

Update-Documentation:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -124,16 +115,6 @@ jobs:
run: |
echo "commit_id=$(echo $(git rev-parse HEAD))" >> $GITHUB_ENV
echo "email=$(echo $(git log --pretty=format:"%ae" $commit_id))" >> $GITHUB_ENV
#- name: Update Doc
#if: steps.DocUpdated.outputs.updateDoc
#run: |
#Green='0;32'
#NoColor='\033[0m'
#git config --global user.name "${{github.actor}}"
#git config --global user.email "${{env.email}}"
#git commit -a -m "Updated docs"
#git push
#echo -e "🚀${Green} Hurrah! doc updated${NoColor}"
- uses: dmnemec/copy_file_to_another_repo_action@v1.1.1
env:
API_TOKEN_GITHUB: ${{ secrets.TALAWA_DOCS_SYNC }}
Expand All @@ -145,23 +126,6 @@ jobs:
user_email: '${{env.email}}'
user_name: '${{github.actor}}'
commit_message: 'Updating talawa documentation as new PR merged into talawa:automated-docs'

#Copy-docs-to-talawa-docs:
#runs-on: ubuntu-latest
#needs: Update-Documentation
#steps:
#- uses: actions/checkout@v3
#- uses: dmnemec/copy_file_to_another_repo_action@v1.1.1
#env:
#API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
#with:
#source_file: 'docs/talawa/'
#destination_repo: 'PalisadoesFoundation/talawa-docs'
#destination_branch: 'develop'
#destination_folder: 'static/talawa'
#user_email: '${{env.email}}'
#user_name: '${{github.actor}}'
#commit_message: 'Updating talawa documentation as new PR merged into talawa:automated-docs'

Flutter-Testing:
name: Testing codebase
Expand Down Expand Up @@ -224,7 +188,7 @@ jobs:
name: "Automated Android Release"
artifacts: "./build/app/outputs/flutter-apk/app-release.apk"
allowUpdates: "true"
generateReleaseNotes: true
generateReleaseNotes: false
tag: "automated"
body: |
This is an automated release, triggered by a recent push.
Expand Down

0 comments on commit d8106ba

Please sign in to comment.