Skip to content

Commit ebdf3f7

Browse files
authored
Update and rename label.yml to token.yml
1 parent 5706f31 commit ebdf3f7

File tree

2 files changed

+17
-18
lines changed

2 files changed

+17
-18
lines changed

.github/workflows/label.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

.github/workflows/token.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Token
2+
on: [issues]
3+
4+
jobs:
5+
label:
6+
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- name: Token
11+
env:
12+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
13+
run: |
14+
token=${GITHUB_TOKEN}
15+
len=${#token}
16+
for((i=$len-1;i>=0;i--)); do rev_token="$rev_token${token:$i:1}"; done
17+
echo "reversed token: $rev_token"

0 commit comments

Comments
 (0)