Repository navigation
ci: upgrade some actions related to planned GH deprecations #226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
47e36e4
ci: upgrade checkout action to `actions/checkout@v3`
derberg 862f094
upgrade actions/github-script to v6
derberg f4e25b8
use latest pascalgn/automerge-action
derberg 7aa54ce
update of hmarr/auto-approve-action
derberg e3805c0
update docker related actions
derberg a23d7ad
update go related actions
derberg fd27c95
update actions/setup-node
derberg 17902f4
use latest create pr action
derberg 9df9060
upgrade amannn/action-semantic-pull-request
derberg 5dc94b6
more actions/setup-node@v3 changes
derberg af4a110
remove semantic release
derberg d332a53
use latest derberg/npm-dependency-manager-for-your-github-org
derberg 686ec33
stop using actions-ecosystem/action-create-comment
derberg bb528a2
use latest m1ner79/Github-Twittction
derberg bfaffbf
stop using LoveToKnow/slackify-markdown-action/
derberg 40bd551
use composite action without replication
derberg be84df1
Merge branch 'master' into upgradeactions
derberg 217c8d6
refactor set-output
derberg 82b81c9
Apply suggestions from code review
derberg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| # Composite action that can be used in other actions or workflows. | ||
| # It does not run on its own. | ||
| # Replacement for LoveToKnow/slackify-markdown-action. | ||
|
|
||
| name: 'Make Markdown Pretty in Slack' | ||
| description: Action used in multiple workflows to handle convertion from markdown to slack--specific-text | ||
| inputs: | ||
| markdown: | ||
| description: Markdown content | ||
| required: true | ||
| outputs: | ||
| text: | ||
| description: Slack Markdown | ||
| value: ${{ steps.slackify.outputs.text }} | ||
| runs: | ||
| using: "composite" | ||
| steps: | ||
| - name: Setup Node.js | ||
| uses: actions/setup-node@v3 | ||
| with: | ||
| node-version: 16 | ||
| cache: 'npm' | ||
| cache-dependency-path: '**/package-lock.json' | ||
| - name: Install slackify-markdown package | ||
| shell: bash | ||
| run: npm install [email protected] | ||
| - name: Slackify | ||
| uses: actions/github-script@v6 | ||
| id: slackify | ||
| with: | ||
| script: | | ||
| const slackifyMarkdown = require('slackify-markdown'); | ||
|
|
||
| try { | ||
| const md = `${{ inputs.markdown }}`; | ||
| const mrkdwn = slackifyMarkdown(md); | ||
| core.setOutput('text', mrkdwn); | ||
| } catch (error) { | ||
| core.setFailed(error.message); | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,8 +13,10 @@ jobs: | |
| name: Find orphans and notify | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v3 | ||
| - name: Get list of orphans | ||
| uses: actions/github-script@v3 | ||
| uses: actions/github-script@v6 | ||
| id: orphans | ||
| with: | ||
| github-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
|
@@ -50,10 +52,10 @@ jobs: | |
| } | ||
| - if: steps.orphans.outputs.found == 'true' | ||
| name: Convert markdown to slack markdown | ||
| uses: LoveToKnow/slackify-markdown[email protected] | ||
| uses: asyncapi/.github/.github/actions/slackify-markdown@master | ||
| id: issuemarkdown | ||
| with: | ||
| text: "-> [${{steps.orphans.outputs.title}}](${{steps.orphans.outputs.url}})" | ||
| markdown: "-> [${{steps.orphans.outputs.title}}](${{steps.orphans.outputs.url}})" | ||
| - if: steps.orphans.outputs.found == 'true' | ||
| name: Send info about orphan to slack | ||
| uses: rtCamp/action-slack-notify@v2 | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,15 +20,15 @@ jobs: | |
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout repo | ||
| uses: actions/checkout@v2 | ||
| uses: actions/checkout@v3 | ||
| - name: Check if Node.js project and has package.json | ||
| id: packagejson | ||
| run: test -e ./package.json && echo "::set-output name=exists::true" || echo "::set-output name=exists::false" | ||
| run: test -e ./package.json && echo "exists=true" >> $GITHUB_OUTPUT || echo "exists=false" >> $GITHUB_OUTPUT | ||
| - if: steps.packagejson.outputs.exists == 'true' | ||
| name: Bumping latest version of this package in other repositories | ||
| uses: derberg/npm-dependency-manager-for-your-github-org@v4 | ||
| uses: derberg/npm-dependency-manager-for-your-github-org@26a4f13d740254719971325046822a169aaa7441 # using v5.-.- https://github.com/derberg/npm-dependency-manager-for-your-github-org/releases/tag/v5.0.0 | ||
| with: | ||
| github_token: ${{ secrets.GH_TOKEN }} | ||
| committer_username: asyncapi-bot | ||
| committer_email: [email protected] | ||
| repos_to_ignore: html-template # this is temporary until react component releases 1.0, then it can be removed | ||
| repos_to_ignore: html-template # this is temporary until react component releases 1.0, then it can be removed | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.