Skip to content

Commit

Permalink
revert: (AppMap) Enable install-action to commit to the branch
Browse files Browse the repository at this point in the history
  • Loading branch information
kgilpin committed Oct 30, 2023
1 parent ca31ae3 commit f238a27
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,32 +9,20 @@ on:
- cron: '0 0 * * 0'

permissions:
# Allows the EndBug/add-and-commit step to commit the package manager changes,
# adding the AppMap language library and configuration file appmap.yml.
# Once the EndBug/add-and-commit is removed, this permission can be removed,
# unless you need it for other reasons.
contents: write

# Allows the getappmap/archive-action to write a PR comment with the
# AppMap configuration status.
pull-requests: write

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true

# Begin AppMap CI language agent installation.
# This snippet can be safely removed once the AppMap language agent has been
# added to the project dependencies, and appmap.yml has been created.
- name: Enable appmap gem update
run: bundle config unset deployment
- name: Install AppMap tools
Expand All @@ -46,15 +34,12 @@ jobs:
uses: EndBug/add-and-commit@v9
with:
message: "ci: Add AppMap language agent and appmap.yml"
# End AppMap CI language agent installation

- name: Run tests
run: bundle exec rails test

# Begin AppMap bootstrap archive step
- name: Archive AppMaps
id: appmap-bootstrap-archive-appmaps
uses: getappmap/archive-action@v1
with:
revision: ${{ github.event.pull_request.base.sha }}
# End AppMap bootstrap archive step
revision: ${{ github.event.pull_request.base.sha }}

0 comments on commit f238a27

Please sign in to comment.