Skip to content

Commit

Permalink
ci: 👷 disable Post Lint Results
Browse files Browse the repository at this point in the history
Signed-off-by: Onuralp SEZER <[email protected]>
  • Loading branch information
onuralpszr committed Jan 17, 2024
1 parent c335d32 commit 0cf58ad
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/android-ci-debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,25 +41,25 @@ jobs:
- name: 🧹 Run Android Lint
run: ./gradlew lint

- name: 📝 Post Lint Results
uses: actions/github-script@v5
if: github.event_name == 'pull_request'
with:
script: |
const fs = require('fs');
const lintResult = fs.readFileSync('./app/lint-results.xml', 'utf8');
const issueComment = `
## Lint Results 🧹
\`\`\`
${lintResult}
\`\`\`
`;
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: issueComment,
});
# - name: 📝 Post Lint Results
# uses: actions/github-script@v5
# if: github.event_name == 'pull_request'
# with:
# script: |
# const fs = require('fs');
# const lintResult = fs.readFileSync('./app/lint-results.xml', 'utf8');
# const issueComment = `
# ## Lint Results 🧹
# \`\`\`
# ${lintResult}
# \`\`\`
# `;
# github.rest.issues.createComment({
# issue_number: context.issue.number,
# owner: context.repo.owner,
# repo: context.repo.repo,
# body: issueComment,
# });

- name: 🐞 Debug Build
run: ./gradlew assembleDebug
Expand Down

0 comments on commit 0cf58ad

Please sign in to comment.