https://github.com/tlylt/coded-clique
Hide your issue/comment content from the prying eyes of a casual visitor
https://github.com/tlylt/coded-clique
github github-actions
Last synced: 4 months ago
JSON representation
Hide your issue/comment content from the prying eyes of a casual visitor
- Host: GitHub
- URL: https://github.com/tlylt/coded-clique
- Owner: tlylt
- License: mit
- Created: 2023-04-29T08:22:18.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-06T10:19:55.000Z (about 3 years ago)
- Last Synced: 2025-11-11T23:48:57.966Z (8 months ago)
- Topics: github, github-actions
- Homepage: https://github.com/marketplace/actions/coded-clique
- Size: 44.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Coded Clique
[](https://github.com/tlylt/coded-clique/actions/workflows/test.yml)
This action provides the following functionality for GitHub Actions users:
- Hide your issue/comment content from the prying eyes of a casual visitor
Before:

After:


# Usage
```yaml
steps:
- name: Coded Clique
uses: tlylt/coded-clique@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
```
### Action inputs
| Name | Description | Default |
|------------|----------------------------------------------------------------------------------------------------|----------------|
| `token` | `GITHUB_TOKEN` (`issues: write`, `pull-requests: write`) or a `repo` scoped personal-access-token. | `GITHUB_TOKEN` |
| `encoding` | The encoding method to use: "base64" or "question". | `base64` |
For `GITHUB_TOKEN`, go to your repository's Settings > Actions > General, under "Workflows permissions", select "Read and write permissions" and save. With that, you can simply use `token: ${{ secrets.GITHUB_TOKEN }}`.
# Testing
```yaml
name: Test coded-clique
on:
issues:
types: [opened, edited]
issue_comment:
types: [created, edited]
jobs:
build:
runs-on: ubuntu-latest
name: test
steps:
- name: Coded Clique
uses: tlylt/coded-clique@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
```
# Cookbook
## Use encoding "question"
```yaml
name: Test coded-clique
on:
issues:
types: [opened, edited]
issue_comment:
types: [created, edited]
jobs:
build:
runs-on: ubuntu-latest
name: test
steps:
- name: Coded Clique
uses: tlylt/coded-clique@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
encoding: 'question'
```
# Development
Updates will be done on the main branch. When ready, tag and release according to semver.
# License
The scripts and documentation in this project are released under the [MIT License](LICENSE)